[cups.general] Can't print bank statement from ar, test page fine.
Gene Heskett
gene.heskett at verizon.net
Thu Aug 24 03:07:18 PDT 2006
On Thursday 24 August 2006 05:08, Tim Waugh wrote:
>On Wed, 2006-08-23 at 22:56 -0400, Gene Heskett wrote:
>> Humm, I don't have a FONTPATH env var. And from that logging I sent,
>> it found the other variations on that font, apparently w/o any
>> problems, so I guess I'm still puzzled as to what to do next Helge.
>
>The correct variable name is actually GS_FONTPATH, and it's not the
>GS_FONTPATH variable in your login environment that's important but the
>execution environment of ghostscript while processing the job.
Ok. But...
>For foomatic jobs on Fedora Core/Red Hat Enterprise Linux it gets set
>in /usr/bin/foomatic-gswrapper:
Possibly fine for foomatic users, and I don't want to sound like a heretic
about it but I haven't used foomatic since I found my Epson C82 made
prints with much better color fidelity without it, several years ago now.
gimp-print, now gutenprint has handled it all beautifully since.
[root at coyote root]# ls /usr/bin/foomatic-gswrapper
ls: /usr/bin/foomatic-gswrapper: No such file or directory
>$ENV{'GS_FONTPATH'} = '/usr/share/fonts';
>
>..meaning that any fonts under '/usr/share/fonts' are allowed to be read
>by ghostscript.
>
>Do you think there are other font paths that should be added?
Yes, definitely. For starters ~/.fonts needs to be added. Here is the
contents of that directory here, and OOo2.xx has no problem finding and
useing them, including for hardcopy.
-----------------
[root at coyote root]# ls ~/.fonts
abogada_loco.ttf dustismo_italic.ttf
KunstlerschreibschDMed.ttf
Alexei_CopperplateITC-Normal.ttf dustismo_roman.ttf
math1___.ttf
andalemo.ttf Dustismo_Roman.ttf
math2___.ttf
arialbd.ttf dustismo_sans.ttf
math4___.ttf
arialbi.ttf Dustismo_Sans.ttf
Mona_Lisa_RecutITC-Normal.ttf
ariali.ttf EckmannD.ttf
Mona_Lisa_SolidITC-Normal.ttf
arial.ttf Edwardian_Script_ITC.ttf
msam10.ttf
ariblk.ttf Emboss-Normal.ttf
msbm10.ttf
Bell_MT_Corsivo.ttf EnglischeSchTDemBol.ttf
mtextra.ttf
Calisto_MT_Corsivo.ttf EnglischeSchT.ttf
Palace_Script_MT.ttf
Calligraphic_Regular.ttf fangsongti16.pcf
Parchment.ttf
CasablancaAntique_Italic.ttf fangsongti24.pcf
timesbd.ttf
CK_Wavey.ttf Fine_Hand_LET_Plain_1.0.ttf
timesbi.ttf
cmex10.ttf fonts.cache-1
timesi.ttf
cmmi10.ttf fonts.dir
times.ttf
cmr10.ttf fonts.scale
trebucbd.ttf
cmsy10.ttf Galleria.ttf
trebucbi.ttf
comicbd.ttf Garamond_Corsivo.ttf
trebucit.ttf
comic.ttf GaramondNo4CyrTCYLig_Italic.ttf
trebuc.ttf
courbd.ttf georgiab.ttf
verdanab.ttf
courbi.ttf georgiai.ttf
verdanai.ttf
couri.ttf georgia.ttf
verdana.ttf
cour.ttf georgiaz.ttf
verdanaz.ttf
Dauphin.ttf history.xml
wasy10.ttf
DiskusDMed.ttf impact.ttf
webdings.ttf
dustismo_bold_italic.ttf kde-override
Zinjaro_LET_Plain.ttf
dustismo_bold.ttf KunstlerschreibschDBol.ttf
----------------------------------
I just noted that about half of those have the global execute bits set, is
that kosher?
I just checked /usr/lib/cups/filter/pstoraster, and found this:
--------
# Set the library/font path...
GS_LIB="${CUPS_FONTPATH:=/usr/share/cups/fonts}"
export GS_LIB
--------
Unforch, the contents of that directory is pretty limited in font choices:
[root at coyote root]# ls -l /usr/share/cups/fonts
total 468
-rw-r--r-- 1 root root 90734 Dec 13 2004 Courier
-rw-r--r-- 1 root root 100386 Dec 13 2004 Courier-Bold
-rw-r--r-- 1 root root 102476 Dec 13 2004 Courier-BoldOblique
-rw-r--r-- 1 root root 87970 Dec 13 2004 Courier-Oblique
-rw-r--r-- 1 root root 62101 Dec 13 2004 Symbol
One thing thats always tended to upset me is that a *.ttf font should be
usable as a .ttf font regardless of what directory its in, and I have
totally failed to comprehend the reasoning behind having so darned many,
apparently systemwide usable fonts, scattered about in directories as if
they were shaken out of a salt shaker. If I were to collect all the font
files into one directory, I'd bet I have close to a gigabyte of fonts on
this system, with a duplication ratio of at least 85% just because every
coder on the planet thinks HE has to have his own private font stash.
Heck, I've got 7 copies of arial.ttf alone. Ridicoulous.
>Tim.
>*/
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
More information about the cups
mailing list