Home » Questions » Computers [ Ask a new question ]

How can the font size be changed in Notepad++?

How can the font size be changed in Notepad++?

How can the font size be changed in Notepad++?

Asked by: Guest | Views: 352
Total answers/comments: 6
bert [Entry]

"Open menu Settings/Style Configurator. Then with the default theme ""Default (stylers.xml)"" and default language ""Global Styles"", change the font name and font size for style ""Default Style"" (the default, style ""Global override"" will not cut it).

If a document is already open then the display will change immediately as the font name and font size is changed - nice touch! Press the ""Save & Close"" button to keep the new settings.

Note that in Notepad++ 6.0, you will also need to check the enable global font and enable global font size check boxes."
bert [Entry]

Alternatively, hold Ctrl and use the scroll wheel of your mouse.
bert [Entry]

With 5.9.4 I have found that the global override does cut it, as zooming seems to influence global and language-specific font settings differently so that whitespace has different sizes (Tabs don't line up with different zoom levels). The font size did not seem to change either..
bert [Entry]

"(Notepad++ 6.1.1)

I'm not sure about you, but to me this feature should be in Preferences. I totally missed it when it was right underneath it :p.

Anyway, you could kill two birds with one stone by changing the theme.

Change font & Chose a dark background:

Go to Settings on the top menu
Chose Style Configurator...
At the top it's the theme selector Select theme

Notepad++ has many themes to choose from, so if you're one of those that likes to code on a dark background with a san-serif font the Ruby Blue theme is a good choice, it works great for me.

My 2¢."
bert [Entry]

"There's a much easier way to change the font by using Notepad++ itself. Go to:
""C:\Users[your username]\AppData\Roaming\Notepad++\stylers.xml"" and open it. Then copy the string fontName="""", press Ctrl + H and on the first field what you need to be found paste the copied string. On the second field (this tells you what you want to replace the copied string with), enter fontName=""Calibri"" (or another font you like), click ""replace everything"" and DON'T FORGET TO TICK THE TICKBOX TO SEARCH ONLY FOR WHOLE WORDS BEFORE DOING ALL THAT.

After that, find the string fontSize="""" and replace it with fontSize=""11"" (or any other size you prefer. Then save the file and restart NPP. This is how I did it, and here's the result:

Font: Calibri (my favourite font), font size: 11 (my favourite size for Calibri). Then archive the entire ""C:\Users[your username]\AppData\Roaming\Notepad++\"" to another drive (not on C:), so the next time you need to reinstall the OS, you'd be able to restore your settings on fonts.

This might sound oldschool to some people, but I'm an oldschool myself and this is the way I prefer to do it instead of relying on the program's options."
Rtajty [Entry]

cost lipitor <a href="https://lipiws.top/">buy lipitor medication</a> atorvastatin 80mg price