You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@readroberts Currently, when I use sfntedit to extract or delete a series of tables, and specify some tables that don't exist in the font (e.g. I say sfntedit -d GPOS,GSUB font.ttf and the font does not have GSUB but only GPOS), sfntedit issues an error sfntedit [FATAL]: table missing (GSUB) and does not perform the operation at all. It would be useful to have an option -i (ignore errors) that would ignore these situations and still perform the operations on the other tables which do exist. I don't know enough C to patch sfntedit myself but I think it should be a relatively minor but useful thing.
The text was updated successfully, but these errors were encountered:
twardoch
changed the title
[wish] Make 'sfntedit' fail gracefully
[wish] Make 'sfntedit' ignore missing tables and continue
Dec 21, 2016
Made changes to continue with a warning if a table is missing, and to not change the output file if no changes are made. If a table is missing, the exit code is still 0.
Fixes#160
@readroberts Currently, when I use
sfntedit
to extract or delete a series of tables, and specify some tables that don't exist in the font (e.g. I saysfntedit -d GPOS,GSUB font.ttf
and the font does not haveGSUB
but onlyGPOS
),sfntedit
issues an errorsfntedit [FATAL]: table missing (GSUB)
and does not perform the operation at all. It would be useful to have an option-i
(ignore errors) that would ignore these situations and still perform the operations on the other tables which do exist. I don't know enough C to patchsfntedit
myself but I think it should be a relatively minor but useful thing.The text was updated successfully, but these errors were encountered: