BTW, there's now a compiler warning in ttgload.c: libtool: compile: gcc -pedantic -ansi -Wall -Ifreetype/freetype-2.3.11/objs -I./builds/unix -Ifreetype/freetype-2.3.11/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -Ifreetype/freetype-2.3.11/src/truetype freetype/freetype-2.3.11/src/truetype/truetype.c -fPIC -DPIC -o freetype/freetype-2.3.11/objs/.libs/truetype.o freetype/freetype-2.3.11/src/truetype/ttgload.c: In function 'load_truetype_glyph': freetype/freetype-2.3.11/src/truetype/ttgload.c:1108: warning: 'error' may be used uninitialized in this function
I fixed it by setting error = TT_Err_Ok at the beginning of the function, but this may or may not be the correct fix. Jeremy On Wed, Nov 4, 2009 at 11:36 AM, Jeremy Manson <[email protected]> wrote: > That seems to work. Thanks a lot for being so responsive on this, Werner! > > Jeremy > > On Tue, Nov 3, 2009 at 6:49 AM, Werner LEMBERG <[email protected]> wrote: >> >>>> I am trying to trace a problem I am having loading a font. The >>>> glyph appears not to have its linearHoriAdvance field set. [...] >>> >>> Probably a bug. [...] >> >> This should be fixed now in the git repository. Please test. >> >> >> Werner >> > _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
