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 Keith Packard
parent ba998ceff7
commit 319971813c

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 )