Closed tungwoodboi closed 6 months ago
Windows uses meta/head/macStyle to classify font styles. (Regular/ Italic/ Bold...) (https://learn.microsoft.com/en-us/typography/opentype/spec/head)
So I just tried to keep the original macStyle value in meta/head. Tested with some fonts I needed to use and they worked fine. (Phototop & Illustator)
try it here https://typerip.htdesignz.net/
Excellent PR, thank you for digging through the spec and finding this! I also appreciate the unitsPerEm change, great find.
Merged :)
Windows uses meta/head/macStyle to classify font styles. (Regular/ Italic/ Bold...) (https://learn.microsoft.com/en-us/typography/opentype/spec/head)
So I just tried to keep the original macStyle value in meta/head. Tested with some fonts I needed to use and they worked fine. (Phototop & Illustator)