adobe-fonts / source-han-serif

Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조
https://adobe.ly/SourceHanSerif
Other
8.02k stars 643 forks source link

Install source-han-serif in ubuntu16.04 failed. #80

Closed DozenCoder closed 5 years ago

DozenCoder commented 5 years ago

I want to install source-han-serif in my Ubuntu 16.04.6 LTS.
I download this release: https://github.com/adobe-fonts/source-han-serif/releases/download/1.001R/SourceHanSerif.ttc

I try to use font viewer to install source-han-serif with GUI and mouse. But the font viewer show install failed quicky.
Screenshot from 2019-04-18 15-23-49 Then I read this link: https://github.com/adobe-fonts/source-code-pro/issues/17#issuecomment-8967116, move font to /usr/share/fonts or ~/.fonts, then run sudo fc-cache, but when I use fc-list command to view all my installed fonts, no source-han-serif found there.

kenlunde commented 5 years ago

@superPershing It would help to know which particular font resource, indicated by exact file name, that you are trying to install. With that said, I have zero experience with font installation on Linux, so hopefully someone in the community can offer suggestions or work-arounds. I found this article, but I am not sure whether it's helpful for you.

DozenCoder commented 5 years ago

@kenlunde I just download font from release page: https://github.com/adobe-fonts/source-han-serif/releases/download/1.001R/SourceHanSerif.ttc. I'm sorry that I didn't describe it detailedly.

kenlunde commented 5 years ago

That's a 28-font OpenType Collection, and is likely the problem. Try downloading and installing the individual OTFs.

kenlunde commented 5 years ago

Also, the release branch has information about the various deployment formats, and download links.

Explorer09 commented 5 years ago

@superPershing

  1. Did you check the integrity of the file you downloaded? You should get this if you check the SHA256 hash of the file (Source Han Serif 1.001, Super OTC deployment):
85cc634fa228286ca307803bbb4ca61f61fa821b3ed573f4f07c6f0c064426b5 *SourceHanSerif.ttc
  1. Did your computer have any other instance of Source Han Serif installed?
  2. When installing, did you leave any other application opened? (Especially your browser. That might be the cause of fc-cache failure.)

I did successfully install Source Han Serif in Super OTC deployment in Ubuntu 14.04. It's not that the operating system that doesn't support it, but something could be wrong with your installation procedure.

DozenCoder commented 5 years ago

@Explorer09 Thank you!

  1. My SHA256 hash of the file is the same to yours.
  2. source-han-sans has been installed in my computer before. No other instance of Source Han Serif installed.
  3. I follow your suggestion an try again, close my Firefox and other applications. But it seems to no effect.
DozenCoder commented 5 years ago

By download this release: https://github.com/adobe-fonts/source-han-serif/archive/1.001.zip I install Source Han Serif success. Thank you very much!

Jisu-Woniu commented 4 years ago

Try using the OTF format files instead since there is possibility that Super OTC (.ttc in release page) is not currently supported in your system.