Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Default font for UTF-8

    General Discussion
    3
    8
    224
    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.
    • datatraveller1
      datatraveller1 last edited by

      I’m just wondering which font Notepad++ uses for UTF-8.
      I have found Settings - Style configurator - Language: Global Styles, Style: Global override, Font Style: Courier New but I don’t think Courier New is used for UTF-8?

      Alan Kilborn PeterJones 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @datatraveller1 last edited by

        @datatraveller1 said in Default font for UTF-8:

        but I don’t think Courier New is used for UTF-8?

        What makes you think that?
        In a virgin setup, it sure looks like Courier New to me.

        datatraveller1 1 Reply Last reply Reply Quote 0
        • PeterJones
          PeterJones @datatraveller1 last edited by

          @datatraveller1 said in Default font for UTF-8:

          Language: Global Styles, Style: Global override

          That isn’t the one you should be looking at, unless you enable global overrides without understanding things. This is not what sets the default font for normal text that is inherited by the other styles.

          You should be looking at Language: Global Styles, Style: Default Style

          This will be described better in the User Manual when it is next published.

          73dce734-8d9e-4891-8279-3f61a5d179ad-image.png

          datatraveller1 1 Reply Last reply Reply Quote 2
          • datatraveller1
            datatraveller1 @Alan Kilborn last edited by

            @Alan-Kilborn My doubt is that I’m not sure if Courier New can depict all Unicode characters like special emoji?

            PeterJones 1 Reply Last reply Reply Quote 0
            • datatraveller1
              datatraveller1 @PeterJones last edited by

              @PeterJones Thank you, Peter!

              1 Reply Last reply Reply Quote 0
              • PeterJones
                PeterJones @datatraveller1 last edited by PeterJones

                @datatraveller1

                My doubt is that I’m not sure if Courier New can depict all Unicode characters like special emoji?

                That’s one of the places where the Settings > Preferences > Misc > Use DirectWrite checkbox comes in handy. When that’s enabled, Microsoft is allowed to use its behind-the-scenes table to look up alternate fonts for specific glyphs, if the font you are using doesn’t have a glyph for a given character. (And anecdotally, sometimes MS seems to be able to do that even when DirectWrite isn’t enabled.)

                So yes, Notepad++ is still primarily using Courier New by default, as the Default Says it is, even if it’s showing you glyphs for characters not in Courier New.

                (And you can use charmap.exe to see which characters are in Courier New)

                But I tend to download DejaVu Sans Mono or other such truly-free fonts that have more characters available natively, and set those as the default font for Notepad++, so that DirectWrite doesn’t have to do as much work.

                datatraveller1 1 Reply Last reply Reply Quote 2
                • datatraveller1
                  datatraveller1 @PeterJones last edited by datatraveller1

                  @PeterJones Thank you again. Unfortunately, most times I still have to deal with ANSI files so Courier New is the best choice for me. For Unicode, I have personally had good experiences with Segoe UI.

                  Alan Kilborn 1 Reply Last reply Reply Quote 0
                  • Alan Kilborn
                    Alan Kilborn @datatraveller1 last edited by

                    @datatraveller1 @PeterJones

                    If we’re switching over to font recommendation, I like Fira Code Retina. :-)

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Copyright © 2014 NodeBB Forums | Contributors