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:
parent
6f44a2c8a8
commit
affda73a1d
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue
Block a user