• Login
Community
  • Login

How to Make Fonts Bolder in Notepad++?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 312 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.
  • N
    NianBroken
    last edited by Mar 12, 2025, 12:19 PM

    While using Notepad++, I noticed that no matter which font I select, the editor always displays text in the thinnest available weight. When I enable “Bold,” it switches to the thickest weight instead. However, neither extreme is ideal—I need a regular-weight font.
    So how can I make the font slightly bolder in Notepad++?
    7580fc3e-1d0e-4d31-a0f2-ac1989127215-image.png

    P 1 Reply Last reply Mar 12, 2025, 1:35 PM Reply Quote 0
    • P
      PeterJones @NianBroken
      last edited by Mar 12, 2025, 1:35 PM

      @NianBroken ,

      You can read more in this post , but, in short, the library that Notepad++ uses under the hood (called Scintilla) doesn’t do everything it can to allow Notepad++ to request the different weights of the fonts (don’t ask me for more details; i don’t fully understand it).

      If your font has the separate names – like one of the families on my computer is called “Cascadia Mono”, and has variants likw of “…ExtraLight”, “…Light”, “…SemiBold”:
      688a2a86-2148-4695-ad5a-77472483422b-image.png – it might not show some of those (in fact, it seems to pick some random other font when you pick one of the weight variants).

      On most versions of Notepad++, if I have Settings > Preference > MISC > Use Direct Write set to the default “ON”, it only shows the primary and messes up when any of the other variants are picked. But if I switch to OFF, then picking one of the weighted variants of the font does change the weight within that font family.

      On the newest release (v8.7.8, which isn’t yet available to the updater, but you can download from the official website at https://notepad-plus-plus.org/downloads/v8.7.8/ ), there are now four options for the DirectWrite setting (which is now a pulldown instead of a checkbox, but still on the MISC preferences page). When I originally read that post , I got the impression that the mode#3 (“DirectWrite (draw to GDI DC)”) might be able to make the weighted fonts work right, but it didn’t seem to help for me (once again, I only saw any difference if I turned off DirectWrite (“GDI (most compatible)” is the phrasing in v8.7.8)
      de6aab21-12c6-4550-933f-921dac8556f3-image.png

      Maybe @xomx can confirm whether I had just misinterpreted the previous discussion (most likely), or whether the new modes were supposed to be sufficient to make the weighted fonts work despite no update on the Scintilla end, and/or add some more clarity to this discussion.

      X 1 Reply Last reply Mar 12, 2025, 7:52 PM Reply Quote 2
      • X
        xomx @PeterJones
        last edited by Mar 12, 2025, 7:52 PM

        @PeterJones said in How to Make Fonts Bolder in Notepad++?:

        DirectWrite (draw to GDI DC)

        No, this one does not help here, but the good old GDI (most compatible).
        Exactly as someone already answered that in the created GitHub issue.

        1 Reply Last reply Reply Quote 4
        • N
          NianBroken
          last edited by Mar 13, 2025, 6:13 AM

          @PeterJones @xomx
          When I switched the rendering mode to “GDI (most compatible),” the font display ended up looking even stranger than before, especially with Chinese fonts. It felt like I’d been transported back 60 years.

          Image
          Image

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