Closed jastko closed 4 months ago
Under Linux, all static otf/ttf italic weights( except Regular Italic), aren't properly detected by some KDE applications, such as Konsole - KDE terminal emulator, or Kate - KDE text editor.
https://github.com/subframe7536/maple-font/assets/134521733/66e1437e-9332-4e4e-a711-fceb2228077e
I think, that fsSelection and macStyle have wrong settings. For example, from ttx decompilation of BoldItalic style: fsSelection is set to:
fsSelection
macStyle
ttx
BoldItalic
..... <achVendID value="SUBF"/> <fsSelection value="00000000 10100000"/> <usFirstCharIndex value="0"/> .....
and according to the https://learn.microsoft.com/en-us/typography/opentype/spec/os2#fsselection, it should be:
<fsSelection value="00000000 10100001"/>
macStyle has a value of:
..... <yMax value="1120"/> <macStyle value="00000000 00000001"/> <lowestRecPPEM value="6"/> .....
and should have: <macStyle value="00000000 00000011"/>
<macStyle value="00000000 00000011"/>
After the change, everything works.
By the way, nice font, great work.
Thanks for your detailed suggestion! This issue will be fixed in v7-beta10
This is caused by the generation of static fonts. But the NerdFont-patched version re-fix it.
release in v7-beta10
fixed, thanks
Under Linux, all static otf/ttf italic weights( except Regular Italic), aren't properly detected by some KDE applications, such as Konsole - KDE terminal emulator, or Kate - KDE text editor.
https://github.com/subframe7536/maple-font/assets/134521733/66e1437e-9332-4e4e-a711-fceb2228077e
I think, that
fsSelection
andmacStyle
have wrong settings. For example, fromttx
decompilation ofBoldItalic
style:fsSelection
is set to:and according to the https://learn.microsoft.com/en-us/typography/opentype/spec/os2#fsselection, it should be:
<fsSelection value="00000000 10100001"/>
macStyle
has a value of:and should have:
<macStyle value="00000000 00000011"/>
After the change, everything works.
By the way, nice font, great work.