typefaces icon indicating copy to clipboard operation
typefaces copied to clipboard

Glyphs are being dropped in our 3d converter

Open johno opened this issue 4 years ago • 5 comments

It was reported that non-latin glyphs are being dropped and result in improper output for typefaces that include other glyphs.

To reproduce, visit the Noto Sans Page and input one of these glyphs.

image

johno avatar Sep 10 '21 15:09 johno

Thank you for looking into this!

Guillaume-Levrier avatar Sep 10 '21 16:09 Guillaume-Levrier

It looks like the issue is with OpenType and how it parses certain kinds of .tff fonts, which are mapped using a cmap3 method. Those font are currently still not supported by OpenType. There are some related issues here and here.

deanblacc avatar Sep 13 '21 15:09 deanblacc

Just to make sure I interpret your answer correctly: do you have another way of mapping non-latin chars or are you dropping all such fonts?

Guillaume-Levrier avatar Sep 14 '21 05:09 Guillaume-Levrier

@Guillaume-Levrier My bad if that wasn't clear. So, we use the OpenType library to parse font data for the glyph paths. OpenType doesn't currently support certain kinds of .ttf and for the moment at least we can only support what OpenType supports.

deanblacc avatar Sep 14 '21 10:09 deanblacc

Got it, thanks!

Guillaume-Levrier avatar Sep 14 '21 10:09 Guillaume-Levrier