Next.js Discord

Discord Forum

JetBrains Mono unable to display some characters

Answered
piscopancer posted this in #help-forum
Open in Discord
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
const 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 localFont with a font file supporting those glyphs
View full answer

1 Reply