Difference between revisions of "Linux/fonts"

From PeerFreedom Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
   
 
Setting size of most/all fonts in X (in the usual normal graphical mode) of Linux.
 
Setting size of most/all fonts in X (in the usual normal graphical mode) of Linux.
  +
  +
For size of fonts in text mode consoles, VT1 - see [[Linux/Vterm]].
   
 
Crete following file, and paste/add there following one line:
 
Crete following file, and paste/add there following one line:

Latest revision as of 13:40, 30 July 2020

Contents

Set font size

Setting size of most/all fonts in X (in the usual normal graphical mode) of Linux.

For size of fonts in text mode consoles, VT1 - see Linux/Vterm.

Crete following file, and paste/add there following one line:

vim /home/USERNAME/.Xresources
Xft.dpi: 150

where USERNAME will be the name of your user.

This will tell X server to use DPI of 150 (or try even bigger), in case if fonts, letters appear small or tiny on your huge screen/monitor, then this command should scale them up in all programs that choose font using inch-size instead of pixel-size - this affects most applications and most user interfaces.

Some programs might require manual settings if they do not use DPI option (probably programs like aterm, xterm...?)