How do I change the default font?

Helge Blischke H.Blischke at srz-berlin.de
Tue Dec 14 04:57:57 PST 2004


Mal, McLean wrote:
> 
> Helge Blischke wrote:
> > Mal, McLean wrote:
> > > I'm wondering where it picks up the font from?
> >
> > As far as I can see from the sources (1.1.19, not the very newest ones),
> > the fonts must either be declared as printer-resident in the printer's
> > PPD or they get embedded from the directory where CUPS looks for
> > fonts. CUPS 1.1.19 does not (yet) allow to modify the path by
> > the environment variable CUPS_FONTPATH nor filename extensions like
> > ..pfa, .pfb, .ps or the like.
> >
> > Helge
> 
> I tried changing the references to Courier in the file '/usr/share/cups/charsets/iso-8859-1' to Helvetica.
> The printer now prints with the required font.
> It looks like the mechanism to change the charset isn't working for me.
> 
> I switched the log level in cupsd.conf to debug2 and the error_log file has these 2 lines:-
> D [13/Dec/2004:15:46:33 +0000] [Job 218] 0 %%DocumentNeededResources: font Helvetica-Bold
> D [13/Dec/2004:15:46:33 +0000] [Job 218] 0 %%+ font Helvetica
> 
> Does this mean it's using the printer-resident font here?
> I can't see any evidence of a postscript font being downloaded.
> 
> Thanks
> 
> Mal

I just did some tests - it seems that CUPS does not honour the
attributes-charset=xxx
option. Perhape Michael Sweet may drop in?

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list