groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Using third party type-1 fonts in groff


From: Werner LEMBERG
Subject: Re: [Groff] Using third party type-1 fonts in groff
Date: Wed, 11 Dec 2002 14:52:23 +0100 (CET)

> Is there any documentation on how to dis- and reassemble a Type-1
> Font for use with groff? Maybe some step-by-step tutorial? - If
> there's no tutorial available, I am willing to write one, if someone
> guides me into the right direction :)

There is no font installing tutorial, and you are invited to write
one, but the procedure is quite straightforward.  You should read the
man pages of grops and afmtodit.

  . Use afmtodit to convert an AFM file to a groff font description
    file.  It is unlikely that you need a special encoding file
    differing from `text.enc', but who knows...

  . Put that file together with the font in PFA format (PFB doesn't
    work; you can use groff's pfbtops to convert) into a
    device-specific font directory (see man page of troff for exact
    locations).  Don't forget to use a `devps' subdirectory!

  . Register the font in the file `download'.  Currently only the
    first found file with this name in the font path is used; it is
    planned to support multiple `download' files in the future.

That's all.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]