Font "SourceHanCode JP" is not working. #11169
Comments
Can you please try |
@50Wliu Thank you for your advise. I try atom-text-editor {
font-family: "Source Han Code JP Light", "SourceHanCodeJP-Light";
}
atom-text-editor::shadow * {
font-family: "Source Han Code JP Light", "SourceHanCodeJP-Light";
} |
Font-family can not accept weights - that is a limitation of CSS. You can however do this:
atom-text-editor {
font-weight: 300;
} This will correctly choose the Light weight which is only marked as 'L' in this font so you need to use the numeric equivalent instead. |
@damieng Thank you for your advise.I tried to set according to your advice, but the font was not reflected. It was good Speaking at the beginning the issue, |
You might need to restart Atom after setting Source Han Code JP as the Font in Settings. I did and forgot to mention that. |
@damieng I tried restart, but "Source Han Code JP" is not applied. |
Hmm. I must admit I was using the latest Atom built from master and not 1.5.3. I will try that tomorrow. |
@damieng Thank you for your kindness. |
@damieng I tried below,
but "Source Han Code JP" is not applied. In addition, other applications (excel, Outlook) I set the font, has been applied. |
Which OTF files are you installing specifically? I tested it by installing On Wed, Mar 16, 2016 at 9:58 PM higeaaa notifications@github.com wrote:
|
I wonder if it's anything to do with the operating system language somehow interfering? Could you login as Guest/secondary account on your computer set to US English and see if it works there? If not I will try to create a second account in Japanese. |
I'm sorry, My PC is under the management of the company, it will not be able to English of. |
I will try Japanese on my machine in case it is related to that. On Wed, Mar 16, 2016 at 11:00 PM higeaaa notifications@github.com wrote:
|
@damieng Thank you! I attached a separate tab of the font properties for reference. "title" has been written in Japanese. However, it did not also apply to set this "title". |
There is no environment variables relating to this. I am totally out of ideas as to why it does not apply on your system. |
@damieng OK, I decided to use a different font. Thank you for your carefully investigated. |
Given we have no path to go forward here I'm closing the issue unless new information becomes available. |
Perhaps, I think that Group Policy is affecting. My private for the PC (windows10), the MAC and ubuntu, no problem SourceHanCodeJP have available.Thank you. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
Prerequisites
Description
I have "Source Han Code Pro" installed myPC(windows7) cause I want to use the default font on atom.
Setting font-family on
styles.less
is not working.Versions
The text was updated successfully, but these errors were encountered: