How do I change font?
-
Guess tha I have tried exactly this an many variants of what is here suggested. Now I followed the instructions I got above exactly. Nothing happens. I also tried to mark the complete file in the right window, then changed the font size, saved and closed. Nothing happens. Still ridiculously small characters. I also cleaned the NPP-program and reloaded the files, including moving one file to “the other” window. Same shit. Unreadable file. Checked the settings and they say font size i 10 (as I had defined it). Actual sise: 6 (or even 5?), unreadable. Character size in the left window: 12., as estimated. ( I loaded the files in NotePad. and there I set the font size to 12 pts, and then he text looked much the sane as the text in my NPP left window.).
As an experienced programmer I very seldom blame the program if something inunderstandable happens. In more than 99% of the cases I myself is to be blamed. But I give up. How do I get a new version of NPP? -
Maybe your current Zoom level is really small? Try things with the zoom options on the View menu, and/or hold Ctrl while scrolling the mouse wheel (if you have one) while pointed at your editing document.
Maybe Zoom doesn’t make a lot of sense because I don’t believe it is saved between runs of Notepad++, but…
-
Hello, @benny-brodda, @alan-kilborn, @meta-chuh and all,
Normally, the default font size value is saved in the
stylers.xml
file of your N++ configuration. Depending of your N++ first installation, this configuration file may be found in different locations and possibly duplicates of this file may exist !So, first, could you give us some general info, clicking on the N++ option
? > Debug Info...
? It should help us …to help you ;-))I just verified that specific values of zoom, in each of the two views, independently, are kept from one N++ session to another ;-))
Best Regards,
guy038
-
Alan, thnks,
The zoom option fixes it all. Peculiar that adjusting the font size through the settings feature has no influence whatsoever it seems on the font size. Whatsoever it there for?/Benny -
@Benny-Brodda said:
settings feature has no influence
I too have had issues in the past, however I noticed that the image provided by @Meta-Chuh isn’t exactly what I have. My equivalent is:
(https://imgur.com/D6cPnTt)
which has the global options which ALSO need setting below the font selection area. Only then will the font in the tabs change.I have 7.6.4 64bit, whether that makes a difference?
Terry
-
Hi, @benny-brodda, @terry-r and All,
Just a reminder :
When you choose the N++ option
Settings > Style Configurator...
, a dialog opens with, by default :-
A drop-down Themes list, which refers to the
Default (stylers.xml)
theme, on top of the dialog -
A drop-down Language list which refers to the
Global Styles
language, on the leftmost part of the dialog -
A drop-down Style list which refers to the
Global override
style, on the left of the dialog
Now, in the Language list :
-
Any item, different from the first
Global Styles
and the lastSearch result
, are specific built-in languages, different fromNormal Text
and anyUDL
language. The different modifiable styles, of each language, are described in the corresponding drop-down Style list shown. -
The Search result item describes some settings of the Find result panel, when clicking on :
-
The buttons
Find All in All Opened Documents
orFind All in Current Document
of the Find dialog -
The button
Find All
of the Find in Files dialog
-
-
The Global Styles language, which describes all the default settings, used when language is set to
Language > N > Normal Text
Let’s suppose, that you chose the options
Default (stylers.xml)
theme andGlobal Styles
language. Then :-
All styles, different from
Global override
, refer to settings specific to theNormal Text
language only ! -
The style
Global override
represents a pseudo-style, which overrides the default style of any language. This means, in concrete terms, that if you correctly modify the right part of the Style Configurator window, these new settings will apply, from now on, to ALL languages, includedNormal Text
and on theSearch result
panel too !
Now, I’ve said “if you correctly modify…” because, changing any of the
7
possible settings, needs TWO actions in order to be active. Indeed, you may modify :-
The Global foreground colour ( Yellow, by default )
-
The Global background colour ( Orange, by default )
-
The Global Font name ( Courier New, by default )
-
The Global font size ( 10, by default )
-
The Global Bold attribute ( not set, by default )
-
The Global Italic attribute ( not set, by default )
-
The Global Underline attribute ( not set, by default )
But, secondly, in order to set the changed settings, effectively, you need to check the appropriate square box(es), at the bottom of the dialog, all independently, which all begin with
Enable ....
For instance, using the default settings, if you check the two options
Enable global foreground colour
andEnable global foreground colour
, you should see that, whatever the current language used, everything should appear with a yellow text over an orange background ;-)) The displaying would be identical for any other language, included the Search result panel !Best Regards,
guy038
P.S. :
For people using a built-in theme, among the
20
ones, different thanDefault (stylers.xml)
, most of them have the same settings for, either, theGlobal override
style and theDefault Style
style. Only4
styles have different settings : these are theHello Kitty
,Ruby Blue
,Vibrant Ink
andVim Dark Blue
styles ! -
-
This post is deleted! -
This post is deleted! -
@guy038 said in How do I change font?:
But, secondly, in order to set the changed settings, effectively, you need to check the appropriate square box(es), at the bottom of the dialog, all independently, which all begin with Enable …
I realize I’m zombie-threading a little, but oh, good heavens, thank you.
Let’s just say that’s not the way I’ve come to expect to set apps’ fonts and font sizes, the first three or four hits I found for changing font didn’t have that “Enable” step, and your thorough instruction was [figuratively] invaluable.
;^)
-
@Meta-Chuh Thank you very much for your help !