Re: Bug report: Allow CFF based OT fonts with missing map table
Alexei Podtelezhnikov <[email protected]> Fri, 31 May 2024 22:57:30 -0400
| Newsgroups | gmane.comp.fonts.freetype.devel |
|---|---|
| Message-ID | <CAJU=AjUZruF5T81=MiT1ruL344C3BMNYjBeMUHfxr=MCuaOe9Q@mail.gmail.com> |
Derek, On Fri, May 31, 2024 at 2:23 PM Derek B. Noonburg <[email protected]> wrote: > For what it's worth, I've encountered the same problem in a few PDF > files. In all the cases I've seen, the OpenType file contains just the > 'CFF ' table. My code checks for a missing 'head' table, and in that > case it extracts the CFF blob and handles it as a CFF (not OpenType) > font. > > I haven't run into a font that has 'head' and 'CFF ', but not 'cmap'. > If that's what you have, it would be a problem for my code, too. Please leave a comment at https://gitlab.freedesktop.org/freetype/freetype/-/issues/1278 If you can attach an example PDF file with such font. It'd be even better if you proposed an MR. Thanks, Alexei