[gs-commits] rev 12247 - trunk/gs/psi
chrisl at ghostscript.com
chrisl at ghostscript.com
Mon Mar 7 09:43:03 UTC 2011
Author: chrisl
Date: 2011-03-07 09:43:02 +0000 (Mon, 07 Mar 2011)
New Revision: 12247
Modified:
trunk/gs/psi/fapi_ft.c
Log:
Update the second place where we may have to reset the Freetype glyph object.
Again, this means we only free the outline or bitmap data, and just let
Freetype "reset" its glyph object between glyphs.
No cluster differences expected.
Modified: trunk/gs/psi/fapi_ft.c
===================================================================
--- trunk/gs/psi/fapi_ft.c 2011-03-07 07:08:12 UTC (rev 12246)
+++ trunk/gs/psi/fapi_ft.c 2011-03-07 09:43:02 UTC (rev 12247)
@@ -830,11 +830,11 @@
FT_Error ft_error = 0;
if (s->bitmap_glyph) {
- FT_Done_Glyph(&s->bitmap_glyph->root);
+ FT_Bitmap_Done (s->freetype_library, &s->bitmap_glyph->bitmap);
s->bitmap_glyph = NULL;
}
if (s->outline_glyph) {
- FT_Done_Glyph(&s->outline_glyph->root);
+ FT_Outline_Done (s->freetype_library, &s->outline_glyph->outline);
s->outline_glyph = NULL;
}
More information about the gs-commits
mailing list