]> git.wh0rd.org - fontconfig.git/commit
Proper config path for static libraries in win32
authorDennis Schridde <lindevel@gmx.net>
Sun, 4 May 2008 02:45:31 +0000 (19:45 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 02:45:31 +0000 (19:45 -0700)
commit6d65081e35fc1ffae1212f173853b0693645192e
tree2aff5b6c99dd94cb732a64bc3d355d4f17ff1508
parentae6fac08029bce11487d2d20184b1cabb4e0ec34
Proper config path for static libraries in win32

Since fontconfig didn't have special handling for paths in static Windows
libraries, I've created a patch which should fix this.

Basically it does this:
fccfg.c:
If fontconfig_path was uninitialised it tries to get the directory the exe is
in and uses a fonts/ dir inside that.
fcxml.c:
In case the fonts.conf lists a <dir>CUSTOMFONTDIR</dir>, it searches for a
fonts/ directory where the exe is located.
src/fccfg.c
src/fcxml.c