-
Notifications
You must be signed in to change notification settings - Fork 57
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
Support multi-language fonts #45
Comments
Instead of adding every fonts to $sans: "Open Sans", "Helvetica Neue", Arial, $sans-korean, sans-serif !default; |
I tested extended Cyrillic and Arabic and they both seem to work - though the Arabic font face does not seem antialiased. However, since I seldom use Arabic, I don't know whether it's a general issue with Arabic at normal fontsizes or indeed something to do with our fonts. We would need a user who regularly uses Arabic on the web to contribute at least to the discussion. How would adding language-specific variables help? |
If we find such users, that will be the best. At first, we can add some instructions extending This is current $sans: "Open Sans","Helvetica Neue", Arial, NanumBarunGothic, "Apple SD Gothic Neo", AppleGothic, "Malgun Gothic", DotumChe, sans-serif !default; When I separate $sans-korean: NanumBarunGothic, "Apple SD Gothic Neo", AppleGothic, "Malgun Gothic", DotumChe;
$sans: "Open Sans","Helvetica Neue", Arial, $sans-korean, sans-serif !default; It seems to work as same as current code. But we should think about which variable should contain general fonts like |
Since I am not using fonts with larger or less common character sets, I think I would best understand what you want to do if you create a pull request for this. The one thing I am worried about: |
Actually |
Well, you can test whether specifying something like: $sans: $base-sans, $sans-korean, $sans-chinese !default; in |
Oh, that's right. |
Is this done, or are we still working on it? |
There is no progress. |
Whitespace supports Korean fonts by #28, but doesn't support Chinese or Japanese characters. Also because of the size issue, we can't ship web fonts for those languages.
Also added fonts should not affect other language fonts.
Seeing List of CJK fonts, we can use Microsoft YaHei, Microsoft JhengHei, Meiryo for simplified Chinese, traditional Chinese, Japanese respectively. They are distributed with Windows Vista. Also, we should find more fonts for older Windows.
Adobe, in partnership with Google, announced Source Han Sans. We can consider this as default font for CJK.
Also mention me another languages that can be added.
The text was updated successfully, but these errors were encountered: