diff options
-rw-r--r-- | Xprint/ps/PsFonts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xprint/ps/PsFonts.c b/Xprint/ps/PsFonts.c index dde6e703e..6d0ba1a61 100644 --- a/Xprint/ps/PsFonts.c +++ b/Xprint/ps/PsFonts.c @@ -610,8 +610,10 @@ PsFontTypeInfoRec *PsCreateFontTypeInfoRec(DrawablePtr pDrawable, FontPtr pFont) } rec->adobe_ps_name = PsGetPSFontName(pFont); +#ifdef XP_USE_FREETYPE rec->ft_download_encoding = PsGetEncodingName(pFont); rec->ft_download_font_type = PsGetFTDownloadFontType(); +#endif /* XP_USE_FREETYPE */ rec->download_ps_name = NULL; #define SET_FONT_DOWNLOAD_STATUS(rec, downloaded) { int i; for (i = 0 ; i < 256 ; i++) { (rec)->alreadyDownloaded[i]=(downloaded); } } |