Commit 595c18c0 authored by Jeff Muizelaar's avatar Jeff Muizelaar

2005-05-01 Jeff Muizelaar <jeff@infidigm.net>

	* splash/SplashFTFont.cc (SplashFTFont::getGlyphPath):
	Use FT_LOAD_NO_BITMAP to make sure we get outlines loaded instead
	of bitmaps for use in FT_Outline_Decompose.

	Patch from Albert Astals Cid.
parent 49d89ca0
2005-05-01 Jeff Muizelaar <jeff@infidigm.net>
* splash/SplashFTFont.cc (SplashFTFont::getGlyphPath):
Use FT_LOAD_NO_BITMAP to make sure we get outlines loaded instead
of bitmaps for use in FT_Outline_Decompose.
Patch from Albert Astals Cid.
2005-05-01 Jeff Muizelaar <jeff@infidigm.net>
* goo/gmem.c: (gmalloc), (grealloc), (gfree):
......
......@@ -220,7 +220,7 @@ SplashPath *SplashFTFont::getGlyphPath(int c) {
} else {
gid = (FT_UInt)c;
}
if (FT_Load_Glyph(ff->face, gid, FT_LOAD_DEFAULT)) {
if (FT_Load_Glyph(ff->face, gid, FT_LOAD_NO_BITMAP)) {
return NULL;
}
if (FT_Get_Glyph(slot, &glyph)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment