On Thu, 2005-04-14 at 00:07 -0400, Ivan Nestlerode wrote:
>
> > > My suspicion is that there is a font problem (font file not found).
> > > I had gsfonts on hold for a very long time (over a year), and I'm not 
> > > sure if
> > > that is involved.
> > > 
> > 
> > Sounds plausible.
> 
> It looks very likely.  Look at the diff between non-failed open() calls:
> $ grep '^open' ivan-strace.log |grep -v ENOENT >ivan-files
> $ grep '^open' drew-strace.log |grep -v ENOENT >drew-files
> $ diff -u ivan-files drew-files
> --- ivan-files  2005-04-13 23:53:11.199624504 -0400
> +++ drew-files  2005-04-13 23:53:17.189713872 -0400
> @@ -76,10 +76,11 @@
>  open("/usr/share/gs-esp/7.07/lib/escp_24.src", O_RDONLY) = 5
>  open("/usr/share/gs-esp/7.07/lib/Fontmap", O_RDONLY) = 4
>  open("/usr/share/gs-esp/7.07/lib/Fontmap.GS", O_RDONLY) = 5
> +open("/var/lib/defoma/gs.d/dirs/fonts/Fontmap", O_RDONLY) = 4
>  open("/etc/mtab", O_RDONLY)             = 5
>  open("/proc/meminfo", O_RDONLY)         = 5
>  open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 6
>  open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 6
>  open("/usr/X11R6/lib/X11/locale/C/XI18N_OBJS", O_RDONLY) = 6
> @@ -88,3 +89,5 @@
>  open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 6
>  open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 6
> +open("/var/lib/defoma/gs.d/dirs/fonts/a010035l.pfb", O_RDONLY) = 5
> +open("/var/lib/defoma/gs.d/dirs/fonts/a010035l.pfb", O_RDONLY) = 5
> 
> 
> According to "dpkg -S", nobody owns the non-existant Fontmap file on my
> system, but gs-common owns its parent directory.  Since that would seem to
> implicate gs-common and defoma, I forcefully purged and then reinstalled just
> those two packages.  That didn't solve anything (I still get ENOENT trying to
> open that file since it isn't there).
> 
> Same problem with a010035l.pfb (reinstallation didn't give me this file).
> 
> I really don't have a good understanding of the Debian font system,
> so I'm not sure if the problem is with gs-common, defoma, or some other
> package entirely.
> 

I don't think anyone understands the Debian font system ;)

Nautilus provides me with a nice graphical view of a010035l.pfb and
tells me it's "URW Gothic L".  The URW fonts are provided by gsfonts:

$ dpkg -L gsfonts
...
/usr/share/fonts/type1/gsfonts/a010013l.afm
/usr/share/fonts/type1/gsfonts/a010015l.afm
/usr/share/fonts/type1/gsfonts/a010033l.afm
/usr/share/fonts/type1/gsfonts/a010035l.afm
/usr/share/fonts/type1/gsfonts/b018012l.afm
...


I assume defoma registers these fonts if it's installed and converts the
afms to pfbs.  Maybe you didn't have defoma installed when gsfonts got
installed?  Try the purge-and-reinstall trick on gsfonts and see if it
helps.

If that works then a short workaround might be to declare a dependency
in xprint on gsfonts and maybe defoma.

Drew

p.s. I'm CC:ing the bug report, since I think we're starting to get
somewhere.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to