Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

I've made a working TTC file, see comments #23

Open
rci386 opened this issue May 8, 2019 · 10 comments
Open

I've made a working TTC file, see comments #23

rci386 opened this issue May 8, 2019 · 10 comments

Comments

@rci386
Copy link

rci386 commented May 8, 2019

image

If we look at the "Date Modified" inside the above screenshot, we can notice that it is still SF not Lucida Grande. This is because the generated /Library/Fonts/LucidaGrande_modsysfonths.ttc only provides System Font Bold and System Font Medium, but System Font Regular which corresponds to /System/Library/Fonts/SFNSText.ttf is not generated.

I tried to craft one but no success. So I would suggest an update to the Tool to include System Font Regular since you know much better about that. My system is High Sierra. Not sure if it is the same scenario in Sierra or Mojave.

The 20181009 version of the Tool does not work in High Sierra. Use of 20171110 or manual command to patch the font file using the patch inside the Tool is required. I hope there will be a fix for this at the next release :)

@rci386
Copy link
Author

rci386 commented May 9, 2019

A great news for everyone, I've just made a TTC file of Lucida Grande that seems fully working under High Sierra as the System Font, although modification of system folder is necessary. It does not work perfectly when it is placed inside /Library/Fonts (the overriding trick).

I've confirmed that it works in different UI elements including the password fields (with the correct bullet masks), login screen, badges, launchpads, and more. No not working parts are found up till now.

It does appear a bit bigger when compared to the one created by the patch tool author, and more close to the original rendered height of San Francisco in UI so as a seemingly better result.

To use this TTC file, please ensure SIP is disabled for your system to make /System/Library/Fonts writable. Then we start working with this folder. Rename the file extension of SFNSText.ttf and SFNSDisplay.ttf to something else. Paste the provided LucidaGrandeUI.ttc right here, and ensuring the correct permissions are applied by:

sudo chown root:wheel /System/Library/Fonts/LucidaGrandeUI.ttc
sudo chmod 644 /System/Library/Fonts/LucidaGrandeUI.ttc

Logout and then logging back in TWICE, then enjoy!

Attaching a patch file is better than the full file, however I am not yet able to make one. I wish the patch tool will update to the font file that I provided, so I can remove the full file later.

Please have a try and give feedback.

EDIT: wrong file was attached. Now attaching the correct one.

EDIT: Font file updated to make it work in even more applications.

LucidaGrandeUI2.ttc.zip

@rci386 rci386 changed the title Lucida Grande not applied to some of the UI texts (with possible fixes) I've made a working TTC file, see comments May 9, 2019
@co09
Copy link

co09 commented Jun 18, 2019

A great news for everyone, I've just made a TTC file of Lucida Grande that seems fully working under High Sierra as the System Font, although modification of system folder is necessary. It does not work perfectly when it is placed inside /Library/Fonts (the overriding trick).

What was it you did to create this file/or what did you modify in the original TTC information? I'd like to use something other than Lucida Grande but none of my past attempts were successful.

@wangchenxi005966
Copy link

Great Work!

@wangchenxi005966
Copy link

image

The Calculator app will show wrong chars.

@rci386
Copy link
Author

rci386 commented Jul 24, 2019

The problem in calculator has been fixed in version 3.
image
[LucidaGrandeUI3.ttc.zip]
(https://github.com/LumingYin/macOSLucidaGrande/files/3425315/LucidaGrandeUI3.ttc.zip)

@gerardp
Copy link

gerardp commented Aug 25, 2019

@LumingYin What do you think?

@StasGoshtein
Copy link

@rci386 , thanks for this. Just one Q though: is it possible to re-enable SIP after doing it, or it should remain disabled for fonts to work?

@Calypso314
Copy link

Calypso314 commented Oct 20, 2019

Actually, you named two font files to rename, but there are so many of similar name in /System/Library/Fonts in Catalina

I am afraid of renaming everyone of them, I could make Mac OS to not work, and then have to repair everything in single user mode.
Screen Shot 2019-10-20 at 12 27 46 PM

@rci386
Copy link
Author

rci386 commented Nov 5, 2019

Actually, you named two font files to rename, but there are so many of similar name in /System/Library/Fonts in Catalina

I am afraid of renaming everyone of them, I could make Mac OS to not work, and then have to repair everything in single user mode.
Screen Shot 2019-10-20 at 12 27 46 PM

In fact, you only have to rename the extension the two font files that I mentioned, SFNSText.ttf and SFNSDisplay.ttf, or move them to somewhere else, the purpose is to prevent system from reading the two files anyway. You may leave other font files with similar names intact. It is fine to keep them in their original state and you should not remove it.

This is the case in 10.13 and 10.14 . For 10.15, I guess it is the same.

image

@Calypso314
Copy link

No, it just doesn't work like that in 10.15. There is no SFNSText and SFNSDIsplay in 10.15. Just their variations.

I am going to assume that Apple changed the way things work in Mac OS once again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants