On Sun, 9 Mar 2003 22:56:45 +1300
Michael Adams <[EMAIL PROTECTED]> 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.
> > Indexing is performed through a Fontmap file in ./ghostscript, but in
> > Mandrake 8.2 and 9.0 this is a bad link, pointing to lib/Fontmap.GS in
> > 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.  Anyway, I repaired that link
> > and carried out the following operations (using Verdana-BoldItalic as
> > an example):
> >
> > cd /usr/share/fonts/msfonts
> > # 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.  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.
> 
> Simple, what weed am i smokin'. I do not understand f a about what you wrote, 
> except i recognise a full stop at the end of every sentence.
> 
> Seeing as you have just become the authority on the matter could you slow 
> this down to about half speed. Then poke it on a web space and post a link to 
> it. Else, give it to me direct, at half speed. I will post it on a website 
> for you. 
I'll get back to you on this Michael.  And believe me, I'm no expert.
Not many people ever have the need to examine PostScript files or look
inside the standard printing interfaces.  PostScript itself is a dialect
of Forth, which only programmers need to know about, a stack based language
which I remember vaguely from my lab days testing stepper motors.  AFAIK it
deals with two stacks, commands and data and comes with a dictionary of
prewritten commands and definitions.  When loaded it becomes the operating 
system and can be extended at will.  Everything is in Reverse Polish notation,
which makes it a little difficult to read.  

Straying off the point a bit here.  Will be in touch.  Always short of time.
24/7 care for my wife, stuck in a wheelchair with MS.

-- 
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