Xprint: fix handling of TrueType font name

Debian bug #272368
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272368
In certain locales, some characters from some TrueType fonts were not
appearing in the Xprint postscript output due to the font not being
identified in the postscript output.
This commit is contained in:
Eugeniy Meshcheryakov 2007-08-27 00:41:03 +10:00 committed by Drew Parsons
parent 6f44a2c8a8
commit affda73a1d

View File

@ -280,6 +280,8 @@ PsOut_FreeType_Text16(FontPtr pFont, PsOutPtr self, int x, int y, unsigned short
else
{
sprintf(buf, "%s", baseFontName);
xfree(self->FontName);
self->FontName = NULL;
}
if( self->FontSize == -1 )