[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Only Courier fonts are printed out with Xprint under Mozilla



"R (Chandra) Chandrasekhar" wrote:

[snip]
> A transaction listing of my Xprint setup is:
> ***
> <root@ganga># echo ${XPSERVERLIST}
> :64
> ***
> ***
> <root@ganga># env DISPLAY=:64 xset q | sed -n '/^Font Path:/{n;s/
> //g;p;q;}' | tr ',' '\n'
> Xlib:  extension "XFree86-Misc" missing on display ":64.0".
> 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/X11R6/lib/X11/fonts/TrueType
> /usr/X11R6/lib/X11/fonts/100dpi
> /usr/X11R6/lib/X11/fonts/75dpi
> /usr/X11R6/lib/X11/fonts/encodings
> /usr/X11R6/lib/X11/fonts/misc
> ***
[snip]
> I can print from Mozilla using Xprint.  However, I cannot get even
> standard PostScript fonts like Times Roman or Helvetica; only Courier,
> even though I am supposed to get even TrueType support with the version
> of xprt-xprintorg that I am using.

The Truetype support in the xprint.mozdev.org Xprint server uses the
FreeType TTF/OTF engine from Xfree86 so it needs the encodings.dir stuff
set-up properly... - is that true in your case ?

> The Mozilla print preview with xprt-xprintorg shows the proportional
> sans serif fonts on web pages, but the hardcopy output from the printer
> only shows fixed width Courier fonts. Even when I save to a .ps file and
> view it with gv, I only see Courier fonts, unlike the print preview
> which shows the proportional fonts.
> 
> To illustrate what I am facing, I have included two .ps files:
[snip]
> (b) google_xprt.ps (obtained with ps@:64, my printer being called ps in
> CUPS)

Weired.

> Note that the print preview shows the fonts as they appear in
> google_kprinter.ps.
> 
> Note that removing xfs, or xfs-xtt, or both, makes no difference.

Questions:
1. Does % (DISPLAY=:64 xlsfonts) # list any fonts except the "Courier"
and "fixed"/"cursor" fonts ?
2. Are the Xprint server config files (e.g.
/usr/share/Xprint/xserver/C/print/) installed ?
3. Are the font _files_ in the font path readable for the Xprint server
?
4. Are there any error messages or warnings from the Xprint server ?
5. Does the Xprint server find the encodings.dir font encodings table ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  gisburn@informatik.med.uni-giessen.de
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359



Reply to: