[luatex] luatex - font encoding for type 1 fonts
Hans Hagen
pragma at wxs.nl
Sun Jun 26 11:30:44 CEST 2016
On 6/25/2016 3:16 PM, Pali Rohár wrote:
> Problem is that there are no AFM files for CSFonts (and IIRC never
> were). CSFonts are written in MetaFont and (from which were generated
> TFM files) and some subset of CSFonts (those which are often used) were
> later converted to Type 1 variant... Probably nobody generated yet AFM
> files for CSFonts as they were not needed, TeX handle just TFM files.
with an afm file one can also use the fonts in other applications than tex
> So if AFM files are really needed and combination PFB+TFM plus MetaFont
> source code is not enough, how to correctly generate AFM files?
manual, its a text file
> And why cannot be still used TFM files which contains all kerns and
> ligature information?
because one then also needs an encoding vector (an enc file is actually
a blob of postscript, kind of weird as it could also have been a list)
I'm speaking ConTeXt now: the reason for not bothering about tfm (but
use afm instead) is that we can use *all* glyphs in a font, not just as
subset and that made it possible in the early days of luatex to use
type 1 fonts without bothering about encodings (we only use tfm in
context for traditional math fonts).
Hans
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list