JetBrains Mono unable to display some characters
Answered
piscopancer posted this in #help-forum
yǐ zhèzhǒng fāngshì is displayed correctly in my vscode (I use jetbrains mono there too) and it does not fallback to arial. Here is the fontconst mono = JetBrains_Mono({ subsets: ['cyrillic', 'latin'], variable: '--font-mono', display: 'swap' })Answered by joulev
the jetbrains mono on google fonts does not support those two glyphs: https://fonts.google.com/specimen/JetBrains+Mono?preview.text=yǐ%20zhèzhǒng%20fāngshì
you have to use
you have to use
localFont with a font file supporting those glyphs1 Reply
@piscopancer `yǐ zhèzhǒng fāngshì` is displayed correctly in my vscode (I use jetbrains mono there too) and it does not fallback to arial. Here is the font
ts
const mono = JetBrains_Mono({ subsets: ['cyrillic', 'latin'], variable: '--font-mono', display: 'swap' })
the jetbrains mono on google fonts does not support those two glyphs: https://fonts.google.com/specimen/JetBrains+Mono?preview.text=yǐ%20zhèzhǒng%20fāngshì
you have to use
you have to use
localFont with a font file supporting those glyphsAnswer