mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-23 21:00:25 +01:00
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
ba998ceff7
commit
319971813c
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue