[luatex] luatex - font encoding for type 1 fonts
Pali Rohár
pali.rohar at gmail.com
Sun Jun 26 17:56:59 CEST 2016
On Sunday 26 June 2016 17:41:44 Hans Hagen wrote:
> On 6/26/2016 5:16 PM, Pali Rohár wrote:
> > Apparently, some font styles of CSFonts have different mapping of
> > glyph names as basic roman style csr. Looks like /Encoding 256
> > array is correct in all PFB files (only problem with Knuth's
> > dollar-sterling joke).
>
> that order is still unrelated to the real order in the glyph table
> (in thebinary section)
Yes, order in that binary section (where are defined curves for glyphs)
is unrelated. But mapping from TFM index to glyph name is in that
/Encoding 256 array.
> > But encoding ENC files (there are four in fonts/enc/dvips/cs/ on my
> > TeXLive distribution) are not correct as I see at least 6 different
> > encoding of CSFonts.
>
> well, the cs font set is a mess anyway as on ctan one can find
> versions with and without vf files but lucky me that's your mess
Mess on ctan?? Now I do not understand... On ctan is only one package of
MetaFont sources of CSFonts [1] and for some subset of CSFonts there is
package of Type 1 variants [2]. But package [2] depends on [1] (you
cannot install [2] without [1]).
Or do you see some other CSFonts packages on ctan?
And about vf files for CSFonts, they are not needed at all. If they are
present then it spares disk space of bitmaps PK fonts (as CSFonts are
just extension to CMFonts which share MetaFont sources). See description
in file: texmf/fonts/vf/public/cm2cs/README.
[1] - https://www.ctan.org/pkg/csfonts
[2] - https://www.ctan.org/pkg/csfonts-t1
--
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://tug.org/pipermail/luatex/attachments/20160626/80de02a6/attachment.bin>
More information about the luatex
mailing list