diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-10-03 23:29:21 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-10-03 23:29:21 +0000 |
commit | e622b346113f65788110777d7d1b5fc436600a4d (patch) | |
tree | 70d30e28ee8c94a10c4196d32bb8eacb6d20fe25 /Xprint/ps/PsInit.c | |
parent | 8b2f127ea0db2c7fee223b69f4fceee0427fb2e4 (diff) |
Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1496 : Fixed Xprt
font handling which did not support "*xp-listfonts-modes:
xp-list-internal-printer-fonts" or "*xp-listfonts-modes:
xp-list-glyph-fonts" to toggle the usage of printer-builtin and glyph
fonts in XListFonts*(), XLoad*Font(), etc. Additionally the Xprint DDX
now explicitly list "xp-listfonts-modes" in
"document-attributes-supported" (for document-level) or
"xp-page-attributes-supported" (for page-level) when the DDX implements
this feature (as described in the CDE DtPrint specification).
Diffstat (limited to 'Xprint/ps/PsInit.c')
-rw-r--r-- | Xprint/ps/PsInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xprint/ps/PsInit.c b/Xprint/ps/PsInit.c index f2e064921..ba7ca5f66 100644 --- a/Xprint/ps/PsInit.c +++ b/Xprint/ps/PsInit.c @@ -282,12 +282,12 @@ AllocatePsPrivates(ScreenPtr pScreen) */ static char DOC_ATT_SUPP[]="document-attributes-supported"; -static char DOC_ATT_VAL[]="document-format"; +static char DOC_ATT_VAL[]="document-format xp-listfonts-modes"; static char JOB_ATT_SUPP[]="job-attributes-supported"; static char JOB_ATT_VAL[]=""; static char PAGE_ATT_SUPP[]="xp-page-attributes-supported"; static char PAGE_ATT_VAL[]="content-orientation default-printer-resolution \ -default-input-tray default-medium plex"; +default-input-tray default-medium plex xp-listfonts-modes"; static int PsInitContext(pCon) |