-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some issues when making Adobe Source Han Sans as default Chinese fonts #57
Comments
|
Can you use Source Code Pro for the English? |
|
I am the Chinese font maintainer of Fedora. Yes, I can prepend an English fonts in fontconfig conf file. We removed all binding="strong" from nearly all fonts in Fedora to fix the legacy applications, which is needed for English font prepend to take effects. From the screenshot, maybe only a few glyphs needs adjustment. |
|
I think that the problem is with the Linux Terminal and not with the fonts. If you look closely at your screenshot, you'll see that only the @ and the numbers are set in Source Han Sans. All the letters in the prompt line (e.g. epico, Desktop) are from some other font. |
|
You're trying to use a proportional width font in an environment that requires a mono width font.
|
|
This is a DIY (Do It Yourself) issue, because the glyphs for half-width ASCII are present in the font, but are not encoded by default. They are accessible via the 'hwid' GSUB feature. If you want them to be encoded by default, the source UTF-32 CMap resource needs to be modified, and you then rebuild the OpenType font, being sure to specify the modified UTF-32 CMap resources as the argument of the "-ch" command-line option. The modification is simple. Change the following line: <00000020> <0000007e> 1 To this: <00000020> <0000007e> 63039 That will map the range U+0020 through U+007E to CIDs 63039 through 63133, which are the glyphs for half-width ASCII. |
|
Thanks very much for the information! |
|
I tried the changes, it works! Are you willing to encode the half-width ASCII in monospace fonts? URL: |
|
I knew that it would work. ☺ We are considering this at the moment. See: https://code.google.com/p/noto/issues/detail?id=136 |

The new Adobe Source Chinese fonts are great!
I plan to use the Adobe Source Han Sans as default Chinese fonts for Fedora 21.
After discussion, I found an issue about non-monospaced English characters.
In Fedora, we usually provide one font for each language.
So we also use this font as default monospace font on Linux terminal.
But the English characters are not monospaced, which the Linux terminal can't handle it.
From terminal spec, the terminal can handle dual-width fonts gracefully.
Chinese characters are handled correctly, but some English characters like "@" will overlap other characters.
Could you make the English characters monospaced?
Or add a new font with monospaced English characters to the zip archive?
Here are the screenshots for Linux terminal.

The text was updated successfully, but these errors were encountered: