Open jiyzhang opened 5 years ago
Can confirm this isn't working in Catalina.
I don't have access to the Catalina beta version yet. Maybe the replacement font can be modified to work again, but it is also possible that Apple closed the "loophole" the fonts use to be recognized as system fonts.
@jenskutilek I've tried, but not 100% worked. I omitted the word Text for the System Font. These are the lines that I changed:
In glyphs_build.py
:
font.familyName = ".SF NS"
. Previously it was font.familyName = ".SF NS Text"
and also in text_roman.py
:
weights[0], "Light", ".SFNS-Light", "SystemFont-Light", 300
. Previously it was ".SFNSText-Light", "SystemFontText-Light"
weights[1], "Regular", ".SFNS", "SystemFont-Regular", 400
. Previously it was ".SFNSText", "SystemFontText-Regular"
weights[5], "Medium", ".SFNS-Medium", "SystemFont-Medium", 500
. Previously it was ".SFNSText-Medium", "SystemFontText-Medium"
weights[6], "Semibold", ".SFNS-Semibold", "SystemFont-Semibold", 600
. Previously it was ".SFNSText-Semibold", "SystemFontText-Semibold"
weights[7], "Bold", ".SFNS-Bold", "SystemFont-Bold", 700
. Previously it was ".SFNSText-Bold", "SystemFontText-Bold"
weights[11], "Heavy", ".SFNS-Heavy", "SystemFont-Heavy", 800
. Previously it was ".SFNSText-Heavy", "SystemFontText-Heavy"
And I didn't touch these lines:
In glyphs_build.py
:
instance.name = styleName
instance.customParameters["postscriptFontName"] = psFontName
if styleName == "Regular":
instance.customParameters["postscriptFullName"] = "System Font"
else:
instance.customParameters["postscriptFullName"] = "System Font %s" % styleName
instance.customParameters["fileName"] = fileName
and also in postprocess.py
:
name.setName(u"System Font", 4, 0, 3, 0)
name.setName(u".SF NS", 1, 1, 0, 0)
name.setName(u"System Font", 1, 3, 1, 0x409)
name.setName(u"Regular", 2, 1, 0, 0)
name.setName(u"System Font", 4, 3, 1, 0x409)
name.setName(u".SFNS", 6, 3, 1, 0x409)
All the light, medium, semibold, bold, and heavy styles seem to work, but somehow the regular style (that is used by most of the macOS UI) doesn't work at all.
Download Apple original System Font file in /System/Library/Fonts/SFNS.ttf
: SFNS.ttf.zip
The result of partial modification:
Interesting, thank you for your research!
It looks like the old split of the fonts into Display and Text variants is gone in the new version. They are all unified in one file now, which has variation axes for "Weight" (as before), "Optical size", "GRAD", and "YAXS". The "GRAD" axis adds weight without changing the width of letters, while the "YAXS" axis adds weight only in the vertical direction.
It gets increasingly difficult to find a matching replacement font which should ideally also have all of these variations included.
+1
+1
I just upgraded to macOS Catalina (10.15), and now I can't replace the system font with this package. Should I knew this, I won't do the upgrade at all. So sad... The default font is unbearable. Wish you can update the package for Cataline.
I agree with jingchen-xu an others: the default font on Catalina is a pain in the ass! Jens, you are the last hope for people who suffer from bad typografy! Looking forward for updated FiraSystemFontReplacement. Thanks a lot in advance! (Never used so many exclamation marks in such a short text!)
I'd be happy to send money your way if this could be fixed for Catalina. I love this tweak.
@colercoast3r Okay, I would be in also …
@colercoast3r @Fohrbach Me too
+1
+1
I’m also interested in this
we are really missing Fira fonts in Catalina.. I hope someone can help to solve this issue..
+1 for this request. Switching back to Mac OS makes me realize how helpless Apple users really are...
@jenskutilek I've tried, but not 100% worked. I omitted the word Text for the System Font. These are the lines that I changed:
In
glyphs_build.py
:* `font.familyName = ".SF NS"`. Previously it was `font.familyName = ".SF NS Text"`
and also in
text_roman.py
:* `weights[0], "Light", ".SFNS-Light", "SystemFont-Light", 300`. Previously it was `".SFNSText-Light", "SystemFontText-Light"` * `weights[1], "Regular", ".SFNS", "SystemFont-Regular", 400`. Previously it was `".SFNSText", "SystemFontText-Regular"` * `weights[5], "Medium", ".SFNS-Medium", "SystemFont-Medium", 500`. Previously it was `".SFNSText-Medium", "SystemFontText-Medium"` * `weights[6], "Semibold", ".SFNS-Semibold", "SystemFont-Semibold", 600`. Previously it was `".SFNSText-Semibold", "SystemFontText-Semibold"` * `weights[7], "Bold", ".SFNS-Bold", "SystemFont-Bold", 700`. Previously it was `".SFNSText-Bold", "SystemFontText-Bold"` * `weights[11], "Heavy", ".SFNS-Heavy", "SystemFont-Heavy", 800`. Previously it was `".SFNSText-Heavy", "SystemFontText-Heavy"`
And I didn't touch these lines:
In
glyphs_build.py
:instance.name = styleName instance.customParameters["postscriptFontName"] = psFontName if styleName == "Regular": instance.customParameters["postscriptFullName"] = "System Font" else: instance.customParameters["postscriptFullName"] = "System Font %s" % styleName instance.customParameters["fileName"] = fileName
and also in
postprocess.py
:name.setName(u"System Font", 4, 0, 3, 0) name.setName(u".SF NS", 1, 1, 0, 0) name.setName(u"System Font", 1, 3, 1, 0x409) name.setName(u"Regular", 2, 1, 0, 0) name.setName(u"System Font", 4, 3, 1, 0x409) name.setName(u".SFNS", 6, 3, 1, 0x409)
All the light, medium, semibold, bold, and heavy styles seem to work, but somehow the regular style (that is used by most of the macOS UI) doesn't work at all.
Download Apple original System Font file in
/System/Library/Fonts/SFNS.ttf
: SFNS.ttf.zipThe result of partial modification:
![]()
dear irvanmohamad would you please share your modified installer?
Andrea
@jenskutilek I've tried, but not 100% worked. I omitted the word Text for the System Font. These are the lines that I changed:
In
glyphs_build.py
:
font.familyName = ".SF NS"
. Previously it wasfont.familyName = ".SF NS Text"
and also in
text_roman.py
:
weights[0], "Light", ".SFNS-Light", "SystemFont-Light", 300
. Previously it was".SFNSText-Light", "SystemFontText-Light"
weights[1], "Regular", ".SFNS", "SystemFont-Regular", 400
. Previously it was".SFNSText", "SystemFontText-Regular"
weights[5], "Medium", ".SFNS-Medium", "SystemFont-Medium", 500
. Previously it was".SFNSText-Medium", "SystemFontText-Medium"
weights[6], "Semibold", ".SFNS-Semibold", "SystemFont-Semibold", 600
. Previously it was".SFNSText-Semibold", "SystemFontText-Semibold"
weights[7], "Bold", ".SFNS-Bold", "SystemFont-Bold", 700
. Previously it was".SFNSText-Bold", "SystemFontText-Bold"
weights[11], "Heavy", ".SFNS-Heavy", "SystemFont-Heavy", 800
. Previously it was".SFNSText-Heavy", "SystemFontText-Heavy"
And I didn't touch these lines:
In
glyphs_build.py
:instance.name = styleName instance.customParameters["postscriptFontName"] = psFontName if styleName == "Regular": instance.customParameters["postscriptFullName"] = "System Font" else: instance.customParameters["postscriptFullName"] = "System Font %s" % styleName instance.customParameters["fileName"] = fileName
and also in
postprocess.py
:name.setName(u"System Font", 4, 0, 3, 0) name.setName(u".SF NS", 1, 1, 0, 0) name.setName(u"System Font", 1, 3, 1, 0x409) name.setName(u"Regular", 2, 1, 0, 0) name.setName(u"System Font", 4, 3, 1, 0x409) name.setName(u".SFNS", 6, 3, 1, 0x409)
All the light, medium, semibold, bold, and heavy styles seem to work, but somehow the regular style (that is used by most of the macOS UI) doesn't work at all.
Download Apple original System Font file in
/System/Library/Fonts/SFNS.ttf
: SFNS.ttf.zipThe result of partial modification:
![]()
can you release this version?
@irvanmohamad pls share your fork. i can use it as a basis to further experimentation.
@jenskutilek is there a good resource/doc/tool to understand better your comment on required variations that must be included.
Thank you all.
@irvanmohamad pls share your fork. i can use it as a basis to further experimentation.
@jenskutilek is there a good resource/doc/tool to understand better your comment on required variations that must be included.
Thank you all.
@gcbw thank you! it is time to give this project a new light again. I hope the devs will answer soon.
@jenskutilek please give all of us a now hope for firafont on BigSur....
I installed this package after upgrading to macOS Catalina, the system font didn't change.