Community
    • Login

    chinese character problem

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 178 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tony heT
      tony he
      last edited by

      Img0219014718.png
      what are default Chinese font library in notepad++ 8.7.7?

      I work in windows 10 22H2 Chinese.

      Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @tony he
        last edited by

        @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++.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @tony he
          last edited by

          @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 on CompositeFont 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)

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors