Hi,
I have a website with both English and Chinese font in the same paragraph and I’d like to use a different font for each language. I wanted Nunito for English and NotoSans for Chinese. I’ve been trying the following in my CSS:
@font-face {
font-family: 'NotoSans';
src: url('fonts/chinese/NotoSansCJKtc-Thin.otf') format('opentype');
font-weight: 200;
unicode-range: U+4E00-U+9FFF, U+3400-U+4DBF, U+2B740–U+2B81F; /* CJK unicode */
}
with also –
body {
font-family: "NotoSans", "Nunito";
}
But everything just defaults to NotoSans…
then I tried to update that to:
body {
font-family: "NotoSans", inherit;
}
and everything defaults to Nunito.
Any suggestions besides wrapping certain text blocks in a span?