Fonts prohibiting installable embedding

Bobby de Vos bobby_devos at sil.org
Mon Oct 4 19:26:18 CEST 2021


On 2021-10-01 6:20 p.m., Norbert Preining wrote:

> Agreed. Concerning cmdline, I fear no .. lintian does something as
> follows in perl for opentype, see
> https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Fonts/Opentype.pm
> (and Truetype.pm for a similar code)

I am confused why there needs to be both Opentype.pm and Truetype.pm
files. Both files check the fsType field in the OS/2 table in a SFNT [0]
"container". The code would be the same regardless if the glyphs on the
font were in quadratic Bézier curves stored in the glyf table (TrueType)
or cubic Bézier curves stored in CFF /CFF2 tables (OpenType) [1].

I realize there can be confusion with the term OpenType, as sometimes it
refers to the type of curve that the glyphs are draw in, some times it
refers to the SFNT "container" as opposed to Postscript Type 1 fonts,
and sometimes it refers to the font smarts used for shaping and
positioning (which can be done by OpenType, Graphite, or AAT).

[0] https://en.wikipedia.org/wiki/SFNT
[1] https://en.wikipedia.org/wiki/B%C3%A9zier_curve#Fonts

-- 
Bobby de Vos
/bobby_devos at sil.org/


More information about the tex-live mailing list.