ppr-list-digest volume 3, number 53, message 3

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: adam <adam@du.edu>
Date: Thu, 05 Apr 2001 12:14:51 -0600
Subject: Re: PPR: (Don't Know Much About) Fonts

Hey David,

Thank you for your reply.

The file fontindex.db doesn't seem to have any entries:

# ls -l /var/spool/ppr/fontindex.db
- -rw-r--r--   1 ppr      ppr           57 Apr  5 11:51
/var/spool/ppr/fontindex.db
# more /var/spool/ppr/fontindex.db
# This file format is a temporary hack.  It will change.
#

However, when I execute ppr-indexfonts, this is what happens:

# /usr/ppr/bin/ppr-indexfonts
/usr/ppr/fonts
#

Should there be *.afm and *.pfm files in the directory /usr/ppr/fonts?

I hope to not confiuse things, but I searched around with the intention of
figuring out whether things were in their proper places. Here's what I know
and maybe you can tell me if I should move things around so the script will
work (I don't know C very well, so /local/ppr-1.40/fontutils/ppr-indexfonts.c
is somewhat beyond me.).

# pwd
/usr/ppr/fonts
# ls -l
total 0
#

# pwd
/usr/ppr/cache/font
# ls -la
total 16
drwxr-xr-x   2 ppr      ppr         8192 Nov 29 15:41 .
drwxr-xr-x   6 ppr      ppr         8192 Nov 29 15:41 ..
#

# pwd
/local/ppr-1.40/vendors/font_ibm
# ls -la
total 637
drwxr-xr-x   2 509      500         8192 Dec 25  1999 .
drwxr-xr-x  14 509      500         8192 Jan 31  2000 ..
- -rwxr-xr-x   1 509      500          514 Nov 23  1998 COPYRIGHT_IBM.txt
- -rwxr-xr-x   1 509      500        29283 Jul  1  1999 IBMCourier-Bold.afm
- -rwxr-xr-x   1 509      500       126903 Nov 16  1994 IBMCourier-Bold.pfa
- -rwxr-xr-x   1 509      500        29447 Jul  1  1999
IBMCourier-BoldItalic.afm
- -rwxr-xr-x   1 509      500       125236 Nov 16  1994
IBMCourier-BoldItalic.pfa
- -rwxr-xr-x   1 509      500        29500 Jul  1  1999 IBMCourier-Italic.afm
- -rwxr-xr-x   1 509      500       122159 Nov 16  1994 IBMCourier-Italic.pfa
- -rwxr-xr-x   1 509      500        29355 Jul  1  1999 IBMCourier.afm
- -rwxr-xr-x   1 509      500       126099 Nov 16  1994 IBMCourier.pfa
#

I appreciate your help, David.

- -adam
University of Denver

David Chappell wrote:

> adam wrote:
>
> > Hey all,
> >
> > I am getting some printout jobs saying that the printer is not
> > supporting the font
> > IBMCourier causing some of those jobs to be incorrect.
> >
> > I am guessing I need to install the IBMCourier font in the fonts
> > directory (/usr/ppr/fonts)? This directory is curiously empty, so maybe
> > I am mistaken about this. Does anyone know of a good resource for
> > obtaining/installing fonts?
> >
> > Thank You,
> >
> > -adam
> > University of Denver
>
> Some of the PPR filters use IBM Courier.  You already have it.  It is in
> /usr/share/ppr/fonts/.  PPR is supposed to automatically download it to
> the printer when needed.
>
> Make sure that it is listed in /var/spool/ppr/fontindex.db.  If it
> isn't, rerun ~ppr/bin/ppr-fontindex.  If it is, send me an example file
> which demonstrates the problem and I will look for a bug in PPR.