diff options
author | Eugeniy Meshcheryakov <eugen@univ.kiev.ua> | 2007-08-27 00:41:03 +1000 |
---|---|---|
committer | Keith Packard <keithp@koto.keithp.com> | 2007-08-28 17:11:49 -0700 |
commit | 319971813cdb977f1dff0fe7219b817445ee47fc (patch) | |
tree | d5ebd77307b3050fb6670bf556691871dfd1d1e6 | |
parent | ba998ceff7768f0d56f8119dce04538259fdf689 (diff) |
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.
-rw-r--r-- | hw/xprint/ps/psout_ft.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xprint/ps/psout_ft.c b/hw/xprint/ps/psout_ft.c index b10d9e592..30939f972 100644 --- a/hw/xprint/ps/psout_ft.c +++ b/hw/xprint/ps/psout_ft.c @@ -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 ) |