silnrsi / font-ttf-scripts

Font::TTF::Scripts perl module
Artistic License 2.0
19 stars 7 forks source link

ttftable update, delete or import not work #17

Closed ghost closed 5 years ago

ghost commented 6 years ago

ttftable -l -v font.ttf list graphite tables, export works but it's not possible to update, delete or import. What am I doing wrong? ttftable -delete Gloc font.ttf is not removing the table. Any table is never removed. ttftable -import "Gloc=font.gloc.dat" font.ttf is never overwrited or updated.

md5sum shows my font.ttf is never edited.

bobh0303 commented 6 years ago

Try supplying an output font file name. So, for example,

 ttftable -delete Gloc font.ttf outputfont.ttf

Like most scripts in this package, ttftable does not do in-place file modification.

ghost commented 6 years ago

it worked. Do I need to set the checksum after import the table once is modified? It's from a dumb mutator and modifies the binary table.

bobh0303 commented 6 years ago

The checksum(s) for your imported table(s) should be correct, as should the font-wide checksum. Let us know if you discover otherwise.

bobh0303 commented 5 years ago

This was user error, not a bug or enhancement request.