I've asked for help on this partiular problem from the local linux users
group, the newsgroup comp.lang.postscript, and by reading all the
ghostscript docs I can find. So far it's been left unsolved.

  I want, ultimately, to add new Type1 fonts to LyX and the first step is to
add them to ghostscript and to have ghostscript recognize and use them. I've
done the first step but cannot get ghostscript to use them. Let me explain.

  In /usr/share/ghostscript/6.0/lib/Fontmap.GS I added the fonts I need; the
syntax is correct. For example,

/AmerigoBT-RomanA                       (0643a___.pfb)  ;
/AmerigoBT-ItalicA                      (0644a___.pfb)  ;
/AmerigoBT-BoldA                        (0645a___.pfb)  ;
/AmerigoBT-MediumA                      (0770a___.pfb)  ;
/AmerigoBT-MediumItalicA                (0771a___.pfb)  ;
/AmerigoBT-BoldItalicA                  (0772a___.pfb)  ;

  This is correct.

  Then I added the actual metric and scaling files (*.afm and *.pfb) to
/usr/share/fonts/default/ghostscript/0770a___.pfb. This, too, is what needs
to be done.

  Now for the problem: testing the new fonts in ghostscript.

  I produced a two-sentence document in LyX and printed it to disk as a .ps
file. Then I editied the file and every reference to the default font,
Times-Roman, was replaced with a reference to a newly added font, using the
descriptive name at the right above.

  However, when I print the page it comes out with the default font, not the
changed one. So, I have two questions for all the experts here:

  1) Exactly what do I need to do to any PostScript file to replace the font
name so that the new font is used during printing.

  2) Is there another way for me to verify that ghostscript recognizes and
uses the newly added fonts?

  I wouldn't think this would be such an intractable problem that no one's
been able to come up with a solution all week.

Many thanks,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED]
                         http://www.appl-ecosys.com

Reply via email to