jenskutilek / free-fonts

Free fonts available under the Apache license
Apache License 2.0
137 stars 61 forks source link

shows errors when loading font #7

Open ameenvga opened 1 month ago

ameenvga commented 1 month ago

I was trying to create another arabic font using the Noto Naskh Arabic Regualr as the base. But when I load Noto Naskh ttf in fontlab8 I get so many errors.

One of them is following

"E] Unsupported contextual GSUB replacement sequence [feature 'ccmp' lookup 'ccmp_arab_3'] [F] aborting because of errors [F] Fatal error in font "/Users/ameen_abdussalam/Downloads/Fonts/Noto_Naskh_Arabic/static/NotoNaskhArabic-Regular.ttf" in file "features" at line 326

Because of these errors I cannot compile it properly. Why it has errors?

jenskutilek commented 1 month ago

FontLab has to interpret some data from the TTF, which can be hard because the source format is very different from how it is stored in the TTF.

You can try to use the source files for Noto Arabic, but be aware that they are under a more restrictive license (Open Font License). FontLab 8 should be able to open Glyphs files. You can convert the .glyphspackage format to .glyphs using this script: glyphspkg.