chinese character problem
-
what are default Chinese font library in notepad++ 8.7.7?I work in windows 10 22H2 Chinese.
-
@tony-he said:
what are default Chinese font library in notepad++ 8.7.7?
I don’t believe that there is any such thing.
If you have a font you like for the rest of Windows, it seems like it should work in Notepad++. -
@tony-he said in chinese character problem:
what are default Chinese font library in notepad++ 8.7.7?
Notepad++ doesn’t have its own font library. It uses whatever fonts are installed on your computer, and will try to use your chosen Settings > Style Configurator > Language:
Global styles
> Style:Default Style
’s chosen font (which you’ve indicated is Consolas for you).If that chosen font (Consolas) doesn’t have a glyph for a given codepoint, Notepad++ can ask the OS to recommend a different font which will have a glyph for that codepoint; the Settings > Preferences > MISC > Use DirectWrite option affects how Notepad++ interacts with the OS for choosing/displaying those glyphs. If you don’t like the results, you can try changing that setting, restarting Notepad++, and seeing if the other option works better for you. (It is looking like there will hopefully be more options for the DirectWrite setting in the future – whether in the GUI or in a power-user setting – which might give more choices to influence such results.)
As @Alan-Kilborn recommends, picking a font that you like that has all the glyphs you want will help Notepad++ display it the way you like.
Also, there are other posts in the Forum dealing with the
CompositeFont
concept, which is the way that Windows handles this, so you might be able to learn some more about what the operating system does for Notepad++ behind-the-scenes. But basically, windows has some tables about what fonts it looks for when it doesn’t find a glyph in a certain range of codepoints; doing more searching about the web onCompositeFont
may help you learn how to encourage Windows to pick from a “better” font for a given glyph, if you can understand the results (I have only a surface-level understanding of such things, since mathy glyphs are the only “extra” glyphs that I tend to look for when using Notepad++ for my purposes)