From:
[email protected]
Package: xprt-xprintorg
Version: 0.0.9.final.001-2
Severity: normal
It appears that Xprt is using only the URWGothicL font when printing
to a PostScript printer. Specifically, my setup is:
- Mozilla 1.7.2-2
- HP PSC2110 printer connected via CUPS/ijs
I configured Mozilla to use the "Arial" font by default. If I create
a document test.html containing nothing other than:
hello
view it in Mozilla and then print it into a file, I get a PostScript
file that ends with:
$ tail -7 mozilla.ps
/URWGothicL-Book_iso8859-1 100 f Tf
500 598 moveto
[ /h /e /l /l /o ]{glyphshow}fa gr gr sp
%%PageTrailer
%%Trailer
%%Pages: 1
%%EOF
Indeed, Xprt seems to be using the URWGothicL font no matter what font
I choose in Mozilla.
The fontpath of the Xprt server is as follows:
$ DISPLAY=:64 xset q|grep PRINTER
PRINTER:/usr/share/Xprint/xserver/C/print//models/PS2PDFspooldir-GS//fonts/,PRINTER:/usr/share/Xprint/xserver/C/print//models/PSspooldir//fonts/,PRINTER:/usr/share/Xprint/xserver/C/print//models/PSdefault//fonts/,/usr/X11R6/lib/X11/fonts/Type1,/usr/
lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/TrueType,/usr/X11R6/lib/X11/fonts/TrueType/larabie-deco,/usr/X11R6/lib/X11/fonts/TrueType/larabie-straight,/usr/X11R6/lib/X11/fonts/TrueType/larabie-uncommon,/usr/share/fonts/truetype,/var/lib/defoma/x-
ttcidfont-conf.d/dirs/TrueType,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/misc
which looks OK to me (the TrueType fonts are in /usr/share/fonts/truetype).
The URWGothicL font happens to be the first font listed in /usr/X11R6/lib/X11/fonts/Type1/fonts.alias, but I'm not sure whether
that's the (only) reason it ends up being used in the PostScript file.
This behavior appears to be unaffected by the locale setting (I tried
both with POSIX C and de_CH locale with no change).
Is there any way to solicit debug output from Xprt so I can see how
it's doing the font-mapping and why it's choosing URWGothicL?
Thanks,
--david
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-rc2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages xprt-xprintorg depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li ii libxaw7 4.3.0.dfsg.1-6 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii libxmu6 4.3.0.dfsg.1-6 X Window System miscellaneous util ii libxp6 4.3.0.dfsg.1-6 X Window System printing extension ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m ii xprt-common 0.0.9.final.001-1 Xprint - the X11 print system (con
-- no debconf information
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)