On Sun, 09 Mar 2003 19:59:46 +0000
John Richard Smith <[EMAIL PROTECTED]> wrote:

> Michael Adams wrote:
> 
> >On Sun, 09 Mar 2003 19:51, Len Lawrence wrote:
> >  
> >
> >>On Wed, 05 Mar 2003 10:54:11 +0000
> >>
> >>John Richard Smith <[EMAIL PROTECTED]> wrote:
> >>    
> >>
> >>>>Len Lawrence wrote:
> >>>>
> >>>>------------------------ all snipped ----------------------
> >>>>        
> >>>>
> >>>Understanding linux printer setup is not easy, and
> >>>so here is my best try,
> >>>
> >>>---------------------- snip snip snip ----------------------
> >>>      
> >>>
> >>Ladies, Gentleman, and script kiddies.  Done it!  Retreading old
> >>ground, I discovered the exact prescription to allow ghostscript to
> >>locate the new fonts for postscript files.  Since gv was unable to
> >>render them either, I figured that it was purely a ghostscript problem
> >>- nothing to do with CUPS.  GS finds the font resources in the
> >>ghostscript and Type1 directories under /usr/share/fonts/defaults.
> >>
> yep found those.
> 
> >>Indexing is performed through a Fontmap file in ./ghostscript, 
> >>
> /usr/share/fonts/default/ghostscript/Fontmap,
> does not exist in my M9.0 OS
> 
> Unable to run the command specified. The file or directory 
> file:/usr/share/ghostscript/5.50/Fontmap.GS does not exist.
> 
> >>but in
> >>Mandrake 8.2 and 9.0 this is a bad link, pointing to lib/Fontmap.GS in
> >>
> In mine it points to, ./././ghostscript/5.50/Fontmap.GS
> 
> >>the ghostscript installation directories.  This was probably the case
> >>with 8.1 also, and may be carried into 9.1.  The link references the
> >>wrong (older) version of Ghostscript.
> >>
> I should change 5.50 to , what is it, 8.80, I think ?
> 
> >>  Anyway, I repaired that link
> >>and carried out the following operations (using Verdana-BoldItalic as
> >>an example):
> >>
> >>cd /usr/share/fonts/msfonts
> >>
> no such directory
> 
> /usr/share/fonts/9x15.pcf.gz 
> /usr/share/fonts/bitmap/  
> /usr/share/fonts/console8x16.pcf.gz 
> /usr/share/fonts/default/ 
> /usr/share/fonts/elmar_scalable/ 
> /usr/share/fonts/otf/  
> /usr/share/fonts/ttf/
> /usr/share/fonts/afms/      
> /usr/share/fonts/chinese/ 
> /usr/share/fonts/console8x8.pcf.gz  
> /usr/share/fonts/elmar/   
> /usr/share/fonts/fonts.dir       
> /usr/share/fonts/override/
> 
> >># Generate Type1 fonts from TrueType
> >>./ttf2pt1 -e verdanaz.ttf verdanaz
> >># Copy the font metric file to ghostscript
> >>cp verdanaz.afm /usr/share/fonts/default/ghostscript
> >># Copy the ASCII font file to ghostscript
> >>cp verdanaz.pfa /usr/share/fonts/default/ghostscript
> >>cd /usr/share/fonts/default/ghostscript
> >>
> >>Then, edit the Fontmap file.  
> >>
> /usr/share/fonts/default/ghostscript/Fontmap
> is empty
> 
> >>Insert the following line in the end
> >>section, using tabs as separators, not spaces:
> >>
> >>/Verdana-BoldItalic                 (verdanaz.pfa)  ;       % 5066571
> >>
> >>The font alias at the beginning of the line must match exactly the
> >>name held in the font files and it is this which should appear in the
> >>postscript file itself with the findfont directive.  Your document
> >>generator should handle this automatically if given the correct name.
> >>
> >>e.g. /Verdana-BoldItalic findfont 14 scalefont ISOEncode setfont
> >>
> >>The line
> >>%%DocumentNeededResources: font Verdana-BoldItalic
> >>appears in the document header.
> >>
> >>I feel a bit of a fool for taking so long to find such a simple solution
> >>to this problem.  Time to get a life I think.
> >>    
> >>
> Are you working with M9.0 ?
No, 8.2, but 9.0 has the broken Fontmap link.  The msfonts directory is one 
I created to store downloaded MS TrueType fonts.

I think that my Fontmap was resurrected from Fontmap.GS in the installed
Ghostscript tree.  And, yes, the 5.50 is the cause of the broken link.  It
should be 6.53 in Mandrake 8.2, possibly 8.80 in your case.

> -- 
> John Richard Smith
> [EMAIL PROTECTED] 
> 
> 
> 
> 


-- 
Len Lawrence
----------------------------------------------------------
Never argue with a fool -- people might not be able to tell the difference.
----------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to