Eana Hufwe
Eana Hufwe

Reputation: 934

CSS font-family: Which name does css font use?

I intended to change Google Chrome's language specify default (fallback) font to Noto Sans CJK. But it turns out that my Chrome does not support it. I have the whole family of Noto Sans+Serif installed on my Windows 8.

I've tried some fonts using an empty html, many of the fonts work, but still there's some that do not work.

FONT-FAMILY:

* all the fonts have been installed before testing.

The only way to use these fonts seems to be using @font-face{}, but I do not think there's a way to apply @font-face{} in Chrome's default font settings.

---- Update ----

All screenshots are taken in a brand new Chrome profile. Font is recognised by Chrome, but no font is displayed correctly other than the one defined with @font-face{}

Imgur Font setting page, the font shown should be just Arial.

Imgur Test page shows that the font cannot be displayed by Chrome by using font-family.

Upvotes: 1

Views: 3606

Answers (1)

Fei Tian
Fei Tian

Reputation: 16

I really encounter this problem too,i use PostScript Name make it on screen. like this:

font-family:"SourceHanSansCN-ExtraLight"; or font-family:"SourceHanSansCN-Light";

But, I can use noto sans Thin anyway.

"NotoSansSChinese-Thin"; disable "Noto SansS Chinese"; weight:100 able, but use thin (equal ExtraLight in Source Han Sans Cn)

Upvotes: 0

Related Questions