[Bf-committers] Latest FTGL patches
Rob Haarsma
bf-committers@blender.org
Mon, 26 May 2003 13:51:27 +0200
Sorry to trouble the platform managers again, but applying (another) patch
to FTGL results in superior quality fonts for the interface.
Change at line 21 in FTGL/src/FTGLPixmapFont.cpp:
FT_Glyph* ftGlyph = face.Glyph( g, FT_LOAD_NO_HINTING);
to this:
FT_Glyph* ftGlyph = face.Glyph( g, FT_LOAD_DEFAULT | FT_LOAD_NO_BITMAP);
Older patch (which is still required)
Change from line 33 in FTGL\src\FTPixmapGlyph.cpp;
// Get the current glColor.
float ftglColour[4];
// glGetFloatv( GL_CURRENT_COLOR, ftglColour);
ftglColour[0]= ftglColour[1]= ftglColour[2]= ftglColour[3]= 1.0;
Thanks Yue Shi Lai !
Rob