diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-05-06 01:53:52 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-05-06 01:53:52 +0000 |
commit | e4ac2411eddf1f01ef9204f27b6d1ce8f1749439 (patch) | |
tree | 21e60db05d11d01328ac1472f8bcf897e3bc5252 | |
parent | b1c65e1ca6828ea82ee7790f22c26503b0a5e17d (diff) |
Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=551 -
PS DDX will not build on platforms with BuildFreeType NO. Patch by Alan
Coopersmith <alan.coopersmith@sun.com>.
-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); } } |