sf-playground / autofont

Build and release tooling for fonts based on autoconf and automake
MIT License
2 stars 2 forks source link

Post-processing fixes (fix-dsig, fix-fstype) #20

Open jameslikeslinux opened 6 years ago

jameslikeslinux commented 6 years ago

@chrissimpkins, can you please describe the function of the two post-processing fix scripts in Hack? Are they something that would be applicable to other fonts? Should they be included in this project? Would it be better to make provisions in this project to run arbitrary post-processing scripts in some well-defined location in the font project? Are there any other scripts that you think would be useful to apply from the Google Fonts Tools project?

chrissimpkins commented 6 years ago

dsig adds a blank digital signature to the OpenType tables in order to address applications that require this based upon recommendations by Font Bakery testing.

Info: https://www.adobe.com/devnet/opentype/afdko/topic_digital_sig_guide.html

fstype fix modifies the OpenType embedding rights indicated for the fonts to installable embedding.

Info: https://www.microsoft.com/typography/otspec/os2.htm#fst

These will likely both be project specific issues. Would definitely recommend against the fstype fix as a default as there may be projects that use the tool that do not intend to modify the value that they set in their source. If possible to create support for optional post-compile scripting after the build, this would be ideal and a really fantastic option to make available.

I will need to look through the Fonts Tools project to provide additional specific recommendations. If you provide some details on how this would be implemented, perhaps we could make this a generally applicable approach with any command line "fix" style tool?