Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I just downloaded and installed Notepad++ v5.4.5 (I have been using UltraEdit for the last 11.5 years) and can not find a menu command for changing the screen font. I want to change it to Lucida Console 18pt.


Other notes: to download Notepad++ go directly to the SourceForce download page for Notepad++.

share|improve this question
13  
The Notepad++ configurations are all highly non-intuitive. It's disgusting that "How do I change the font?" in a rich-UI windows text editor needs to be asked and upvoted two-dozen times. –  Joe Coder Mar 14 '13 at 21:52
2  
Agreed. Notepad++ configuration options suck. The max font size there is 28. Why on earth the max is set to 28? –  Tem Pora Nov 5 '13 at 10:05
    
@JoeCoder, And visited by over a hundred thousand unique IPs. –  Pacerier Oct 30 at 11:22

10 Answers 10

There's a much easier way to change font by using NP++ 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:

http://i.stack.imgur.com/RlYyz.png - 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 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.

share|improve this answer
up vote 25 down vote accepted

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.

share|improve this answer
    
Where are they, the global font and enable global font size check boxes?? (I couldn't immmediately find them in Notepad++ 6.6.9.) –  Peter Mortensen Sep 23 at 12:36

Scroll the mouse wheel up while pressing Ctrl...

share|improve this answer
    
This changes the display size but doesn't actually sent a typeface or font size in the document. –  kmarsh Mar 11 at 14:37

Settings>Style Configurator>

Font Style: Font Name Font Size

Then check 1. Enable global font 2. Enable global font size

Then click on "Save & Close" button.

share|improve this answer

Ctrl and NUMPAD +/NUMPAD - or mouse wheel to zoom in/out

Edit: Or to achieve exactly what you asked for...

Settings > Style Configurator. Under Font Style you can set the font and size

share|improve this answer
    
while answering, how do you get the Ctrl in a box?? –  Lazer Sep 16 '09 at 19:15
12  
Type <kbd>key</kbd> –  Ciaran Sep 17 '09 at 0:43

(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:

  1. Go to Settings on the top menu
  2. Chose Style Configurator...
  3. 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¢.

share|improve this answer

Alternatively, hold Ctrl and use the scroll wheel of your mouse.

share|improve this answer
    
How can this change the font to "Lucida Console"? –  Peter Mortensen Oct 4 '13 at 14:12
    
@PeterMortensen, Try superuser.com/a/198948/78897 –  Pacerier Oct 30 at 11:21

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

share|improve this answer
1  
So... is this a fix to the problem or..? –  Simon Sheehan Dec 5 '11 at 21:02

Ctrl + F12 will give you all authorities to change the appearance, background, foreground, fonts etc. !

share|improve this answer
1  
Gaurav, what is Ctrl + F12 supposed to do? It does nothing on my installation, Notepad++ v. 5.4.5. For instance, is there a corresponding menu command? –  Peter Mortensen Sep 17 '11 at 9:46
2  
Agree, CTRL+F12 does nothing. Please revise your comment. –  Ricardo Aug 16 '12 at 18:38
1  
Its the year 2014 and Ctrl+F12 is still not doing anything. –  madLokesh Mar 11 at 10:03

Fonts and styles can be changed in the Style Configurator.

  • Settings
  • Style Configurator
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.