[Bf-committers] FTGL hinting patch (addendum)

Yue Shi Lai bf-committers@blender.org
Mon, 26 May 2003 11:42:20 +0800


I noticed the patch itself could be further enhanced. There are some (especially CJK) TrueType fonts with built-in bitmap glyphs (though normally at 10pt and not at 11pt as used by Blender's default). The default behavior of Freetype2 will load these instead. In order to still use the antialiasing feature, one might want to change

FT_LOAD_DEFAULT

into

FT_LOAD_DEFAULT | FT_LOAD_NO_BITMAP

in the patch. This will prevent any bitmapped glyphs to be used.

Yue Shi Lai
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze