adobe-fonts / source-han-sans

Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Other
14.51k stars 1.3k forks source link

[Assistance] About using Terminal only to apply SHS as Yosemite's default CJK GUI font. #73

Closed ShikiSuen closed 10 years ago

ShikiSuen commented 10 years ago

I have just finished the full walkthrough video on how to use SHS as Yosemite's default CJK GUI font. (This works with the RTM version of Yosemite which build number is 14A389)

Step 1 - SHS Deployment (put SHS in the right place with correct permission settings): https://www.youtube.com/watch?v=X1gwzQ6pntI http://www.tudou.com/listplay/AEU-5XNJQH0/HFqwmABr4I4.html

Step 2 - Plist Configuration Step-by-Step (then you know how to modify plist by yourself): https://www.youtube.com/watch?v=OhCFLPTYubg http://www.tudou.com/listplay/AEU-5XNJQH0/BxjfEg0ZsUA.html image

Step 3 - Apply Modified Plists (and some final things to do): https://www.youtube.com/watch?v=kYvrap_KULQ http://www.tudou.com/listplay/AEU-5XNJQH0/eUR5ghk5NAo.html

Should there be any possibilities to convert all of these steps into Terminal commands? (Suppose that there are no 3rd-party terminal tools installed initially, eg: homebrew, git, etc., but would be fine if they could get installed by terminal)

ShikiSuen commented 10 years ago

P.S.: Feel Free to spread these three videos to your friends who are completely fed up with Sinotype Sans Serif GUI fonts.

Gallery (HiDPI): image image image image image image image image

Gallery (LowDPI): image image image image image image image

tzhao11 commented 10 years ago

/usr/libexec/PlistBuddy is an OS X built-in command line tool for manipulating plist files: Man page: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/PlistBuddy.8.html

Wish someone could write some fancy shell/ruby/whatever script to patch the plist files.

ShikiSuen commented 10 years ago

@tzhao11 Thank you for your recommendation. But I am not a programmer and do worse on programming & script-writing. That's why I come here for assistance. I am not a man who ganbare less, but just bad at doing these programming things. (I have taken my whole afternoon + night on planning/recording/voice-dubbing these videos.)

P.S.: Could anybody tell me how to say "頑張れ" in English? P.P.S.: I don't know whether Adobe would have legal risk if they officially write these terminal scripts.

tzhao11 commented 10 years ago

@ShikiSuen I'm just kidding. I don't think Adobe will do that.

ShikiSuen commented 10 years ago

@tzhao11> This is not a good place to chat with language-specific & regional-specific punchlines. I don't think Kenlunde could understand that punchline you have told me in your last reply.

tzhao11 commented 10 years ago

@ShikiSuen Sorry for that. Removed related contents.

kenlunde commented 10 years ago

Well, I see everything, because I receive an email for every post for every issue, so deleting or editing doesn't help. ☺

What I don't see are notifications for edited posts.

Of course, providing scripts or utilities that forcibly install fonts, or replace OS fonts through coercive means, is well beyond the scope of this project. When such measures are necessary to install a font, it is usually a good indication that the OS does not intend for such action to be done. There are also many side-effects of doing so, some of which have been reported in this project's Issues. In my experience, OS X is in a much better position for this, though it is an area that is largely untested, and would require a huge effort on the part of Apple to thoroughly test (because there are lots of third-party fonts available, and each person has their own preference).

Also of course, there is nothing that Adobe can do to prevent clever users of these fonts from taking such action, but it is done at their own risk. As such, we do not recommend taking such action. Instead, users should lobby Apple to replace one or more existing OS fonts with Source Han Sans fonts (or the Super OTC) in a future version of the OS.

On a more personal note, I would like nothing more than for the OS makers to adopt Source Han Sans (or Noto Sans CJK) as the primary CJK fonts for their OSes, but that is beyond my control. At least, with its price tag (free), this dream at least becomes a possibility.

With all of that said, I will close this issue.

ShikiSuen commented 10 years ago

to Ken> Thank you for your comment. The reason I have to get Sinotype Sans Serif (STHeiti, has the same Kanji Glyphs with Adobe Heiti Std) files force-removed is mainly due to some website and some applications' bad choices on their GUI font setting.

Usually, they should use Lucida Grande or Helvetica Neue to let their CJK fonts follow the system's settings. But Some app & web designer never realized that it is totally hard to distinguish between Sinotype Sans Serif's weights while reading Chinese paragraphs via STHeiti.

That's why I hadn't ask users to delete factorial Japanese & Korean GUI fonts. (Osaka is shipped factorial, but is not intended to be GUI fonts... 木田泰夫 confirmed this issue concerned about iTunes12 in recent days.)

P.S.: I have tested all of these steps since Developer Preview 1 of OS X Yosemite. (I know SHS came later, but at that time I had tried successfully using Hiragino Sans GB as Yosemite's Chinese GUI font) Since these plist files may changes between OS X's builds, I recorded the walkthrough on how to edit the plist files in detail.