AuburnSounds / printed

Generate PDF/SVG/HTML with D, with a Canvas-style API. Now with a flow document emitter.
36 stars 7 forks source link

CMAP parsing: Unicode platform ID #42

Open p0nce opened 2 years ago

p0nce commented 2 years ago

Fonts like Jolt have a platformID == 3 and encodingID == 0 and we don't find the glyph '/' in it, though it does exist

Some parser choose table in reverse order. Apple has lots of recommendations on selecting one cmap subtable. stb_truetype doesn't seem to do anything in particular. Many font parsers support more than just format 4