Mailing List Archive

Support open source code!


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

Re: tlug: Ghostscript/VFlib not finding font



Thanks, Andy and Frank, for your help so far.

Andrew S. Howell writes:

 > How 'bout running good old strace, and see what files it tries to
 > open???

Good thinking! Now, see, I'm not an old UNIX hand, so this was
less-than-obvious to me. But I tried strace and seem to have gotten
some helpful information (see below)

Frank Bennett writes:

 > gs -h should give you info on drivers available and the paths being
 > searched.

This, unfortunately, only tells me ghostscript is doing what it's
s'poze to. It seems pretty clear now that it's a VFlib-specific
problem (or maybe I should say a
ghostscript-being-dependent-on-VFlib-specific problem).

strace gave me this:

.....

473   open("/etc/vfontcap", O_RDONLY)   = 14
473   lseek(14, 0, SEEK_SET)            = 0
473   read(14, "####\n####  vfontcap  - Vector F"..., 2048) = 2048
473   read(14, "j:\nr-ricoh-ttw-heisei-kaku-goth"..., 1917) = 1917
473   read(14, "hagoromo-m|DynaFont RYOBI PREMIU"..., 2045) = 2045
473   read(14, "\nricoh-heisei-gothic-w3:\\\n\t:"..., 1989) = 1989
473   lseek(14, 0, SEEK_SET)            = 0
473   read(14, "####\n####  vfontcap  - Vector F"..., 2048) = 2048
473   read(14, "j:\nr-ricoh-ttw-heisei-kaku-goth"..., 1917) = 1917
473   read(14, "hagoromo-m|DynaFont RYOBI PREMIU"..., 2045) = 2045
473   read(14, "\nricoh-heisei-gothic-w3:\\\n\t:"..., 1989) = 1989
473   lseek(14, 0, SEEK_SET)            = 0
473   read(14, "####\n####  vfontcap  - Vector F"..., 2048) = 2048
473   read(14, "j:\nr-ricoh-ttw-heisei-kaku-goth"..., 1917) = 1917
473   read(14, "hagoromo-m|DynaFont RYOBI PREMIU"..., 2045) = 2045
473   close(14)                         = 0
473   open("/etc/vfontcap", O_RDONLY)   = 14
473   lseek(14, 0, SEEK_SET)            = 0
473   read(14, "####\n####  vfontcap  - Vector F"..., 2048) = 2048
473   read(14, "j:\nr-ricoh-ttw-heisei-kaku-goth"..., 1917) = 1917
473   read(14, "hagoromo-m|DynaFont RYOBI PREMIU"..., 2045) = 2045
473   read(14, "\nricoh-heisei-gothic-w3:\\\n\t:"..., 1989) = 1989
473   lseek(14, 0, SEEK_SET)            = 0
473   read(14, "####\n####  vfontcap  - Vector F"..., 2048) = 2048
473   read(14, "j:\nr-ricoh-ttw-heisei-kaku-goth"..., 1917) = 1917
473   read(14, "hagoromo-m|DynaFont RYOBI PREMIU"..., 2045) = 2045
473   read(14, "\nricoh-heisei-gothic-w3:\\\n\t:"..., 1989) = 1989
473   lseek(14, 0, SEEK_SET)            = 0
473   read(14, "####\n####  vfontcap  - Vector F"..., 2048) = 2048
473   read(14, "j:\nr-ricoh-ttw-heisei-kaku-goth"..., 1917) = 1917
473   read(14, "hagoromo-m|DynaFont RYOBI PREMIU"..., 2045) = 2045
473   close(14)                         = 0
473   close(8)                          = 0
473   open("/usr/local/share/texmf/fonts/vfonts/mincho.vf1", O_RDONLY) = -1 ENOENT (No such file or directory)
473   write(2, "VFlib: Cannot open the font `min"..., 35) = 35
473   write(1, "Unrecoverable error: ioerror", 28) = 28

So evidently vflib is trying to open a non-existent font. I don't have
(have never had) 'mincho.vf1', nor do I have the ../vfonts
directory. I do have Wadalab Mincho, though, so maybe I need to tell
VFlib that 'min' means Wadalab Mincho. I'm thinking maybe it's just a
matter of editing /etc/vfontcap.

So I should refer to the VFlib manual, right? Only problem with that
is, I can't read the manual! The TeX version is written for
ASCII-JTeX; I have NTT-JTeX. I copied the PS version over to my
desktop machine, where Japanese Postscript (sometimes) works, and in
the crowning irony of the day ... I got the same error as above, only
this time with the Gothic font instead of Mincho.

Um ... does anybody have a copy of the VFlib-2.22 docs that doesn't 
depend on TeX or PS? Say, HTML or something? Or can anyone explain how 
to write a vfontcap entry?
                 

Matt Gushee
Oshamanbe, Hokkaido
-------------------------------------------------------------------
Next Technical Meeting: February 13 (Sat), 12:30 place: Temple Univ.
** presentation: XEmacs, by Steven Baur and Martin Buchholz
Next Nomikai: March 19 (Fri), 19:30   Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links