groff
[Top][All Lists]
Advanced

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

Re: [Groff] Re: OTF fonts


From: Jeff Zhang
Subject: Re: [Groff] Re: OTF fonts
Date: Tue, 15 Jan 2008 20:40:27 +0800

On Jan 15, 2008 6:25 PM, James Cloos <address@hidden> wrote:

> >>>>> "Denis" == Denis M Wilson <address@hidden> writes:
>
> Denis> 4b. Or keep the TYPE1 file and put name in devps/download
> Denis>    (big output!).
>
> Rather than use the type1 file here I'd use a type42 version of the
> original ttf font.  I'd use ttftotype42(1) from the lcdf typetools at
>
> http://www.lcdf.org/type/#typetools
>
> Also, when using otf fonts, you can use cfftot1(1) from that same
> package to create a type1 font to pass to afmtodit(1) and to include
> in the postscript output.
>
> (The type42 format is a pfa-like wrapping of a ttf which can be included
> in a postscript stream just like a pfa type1 font can.)
>
> I'd use something like:
>
> ttf2pt1 -a -e DejaVuSansMono.ttf DejaVuSansMono
> ttf2type42 -o DejaVuSansMono.t42 DejaVuSansMono.ttf
>
> then run afmtodit on the resulting DejaVuSansMono.afm file and finally
> I'd add:
>
> DejaVuSansMono DejaVuSansMono.t42
>
> to the download file in the devps directory.
>
> Hmmm....
>
> I see that the grops(1) man page suggests using ttftot42 from:
>
> ftp://www.giga.or.at/pub/nih/ttftot42/
>
> which can generate both the type42 file and the afm in one go.
>
> -JimC
> --
> James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6
>
>
> Anyway, direct font support is more favorite than the converted ones,
similiar is xelatex vs cjkutf8.


reply via email to

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