how can I change (enlarge) ALL the fonts displayed by pale moon

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Walter Dnes
Astronaut
Astronaut
Posts: 696
Joined: 2015-07-30, 20:29
Location: Vaughan, ON, Canada

Re: how can I change (enlarge) ALL the fonts displayed by pale moon

Unread post by Walter Dnes » 2025-04-22, 04:48

grgoffe wrote:
2025-04-20, 00:04
Operating system:Fedora 42 (Linux)

I am somewhat sight challenged and am having trouble with the TINY fonts used by Pale Moon. I have changed the config option "layout.css.dev.Pixels.per.px" to 2.1 which helped quite a bit but didn't get ALL the fonts. I'm looking for just one setting that says "enlarge fonts by %'.
Would you settle for boosting the size of EVERYTHING in X? Your're using linux, so the "xrandr" program should either be installed, or available for installation.

Scaling is a two-step process...

Step 1) Find out the name of the display you want to modify, using the command "xrandr", without any parameters from the command line in any term in X. Here is the output on my system. YOUR OUTPUT WILL BE DIFFERENT!

Code: Select all

[dev2][waltdnes][~] xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    66.67    60.00    59.94  
   720x400       70.08  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
Look for the output name listed as "connected". IN MY CASE it's "HDMI-1", Check your command output. It gets uglier if you have multiple monitors.

Step 2) Now that you know the output name (IN MY CASE it's HDMI-1) scale that particular output. To scale HDMI-1 to 125% from the commandline, I would execute the command...

Code: Select all

xrandr --output HDMI-1 --scale 0.8
Think of the "scale" parameter as a "divisor". 1 / 0.8 = 1.25. You can fiddle around to get the magnification that suits you best.

The good news... everything in the dsplay is magnified.

The bad news... you have fewer "logical pixels". This is where "QHD" (2560x1440) and "UHD" (3840x2160) 30 inch monitors are nice to have.
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data