groff
[Top][All Lists]
Advanced

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

Re: gropdf(1)'s 'Font installation' section is opaque to me


From: Jan Eden
Subject: Re: gropdf(1)'s 'Font installation' section is opaque to me
Date: Thu, 18 Apr 2024 18:56:24 +0200

On 2024-04-18 18:00, Alejandro Colomar wrote:

> Hi,
> 
> I find the following section very opaque.
> 
> Font installation
>      The following  is  a  step‐by‐step  font  installation  guide  for
>      gropdf.
> 
>      •  Convert  your  font  to something groff understands.  This is a
>         PostScript Type 1 font in PFA or PFB format, together  with  an
>         AFM file.  A PFA file begins as follows.
>                %!PS-AdobeFont-1.0:
>         A  PFB file contains this string as well, preceded by some non‐
>         printing bytes.  In the following steps, we will  consider  the
>         use of CTAN’s BrushScriptX‐Italic font in PFA format.
> 
> This mention of an AFM file is the first mention in the page, and has no
> information about it at all.
> 
> $ MANWIDTH=72 man gropdf | grep AFM
>         AFM file.  A PFA file begins as follows.
>      •  Convert  the AFM file to a groff font description file with the
>         search path.  While groff doesn’t directly use AFM files, it is
> 
> So, I'm supposed to know what that file is, and all steps continue from
> it.  Well, let's see if it's something easy; maybe a Debian package with
> fonts already contains somehting .afm and I can assume it's that what
> this manual is referring to.

The following instructions (which assume that you start out with TTF or
OTF files) should be helpful, because fontforge can generate afm files
from pfa files, too:

https://technicallywewrite.com/2023/09/16/addfonts

Buena suerte - Jan


Attachment: signature.asc
Description: PGP signature


reply via email to

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