Fonts prohibiting installable embedding

Felix Lechner felix.lechner at lease-up.com
Tue Oct 5 19:06:00 CEST 2021


Hi,

On Tue, Oct 5, 2021 at 9:44 AM Marcel Fabian Krüger <tex at 2krueger.de> wrote:
>
> a font is handled by Truetype.pm if `file` reports it as "TrueType Font
> data" and Opentype.pm is it's reported as "OpenType Font file", right?

Yes, that—plus the file extension.

> the OpenType specification explicitly allows TrueType
> based OpenType fonts ... to use the `.otf` file extension.

Yes, it actually states even more decisively: “In all cases, software
must determine the kind of outlines present in a font not from the
filename extension but from the contents of the file.” [1]

> Therefore the distinction as it's done by these files is rather
> artificial.

I am not opposed to merging the checks, if someone helps us bring them
more in line with the specifications. Please submit your merge
requests here [2] or file a bug report in the Debian BTS. [3]

Thanks for caring!

Kind regards
Felix Lechner

[1] https://docs.microsoft.com/en-us/typography/opentype/spec/recom#filenames
[2] https://salsa.debian.org/lintian/lintian/-/merge_requests
[3] https://www.debian.org/Bugs/



More information about the tex-live mailing list.