glyphr-studio / Glyphr-Studio-2

Glyphr Studio v1 is more than a decade old. V2 is here to save the day.
https://www.glyphrstudio.com
122 stars 17 forks source link

Fixed metadata that enables fonts to be recognised as a family #114

Closed Lmpessoa closed 1 year ago

Lmpessoa commented 1 year ago

I've found out that a few of the fields used by Glyphr Studio were not actually passed on to opentype.js and even it did not use those fields. Some changes were made to enable these to be passed on and be used by the embed copy of opentype.js. Only a couple of fonts were used to test these but changes were recognised by Windows and other apps. Upon further validation of these changes, I recommend pushing them to opentype.js itself.

An issue regarding the fields hhea.caretSlopeRise and hhea.caretSlopeRun for italic and oblique fonts is still pending review but does not prevent font usage or recognition as a family (caret slope had a weird inclination while testing on Word but not on Affinity Designer).