Difference between revisions of "Linux/fonts"

From PeerFreedom Wiki
Jump to navigation Jump to search
(Created page with " == Set font size == Setting size of most/all fonts in X (in the usual normal graphical mode) of Linux. Crete following file, and paste/add there following one line: <code>...")
 
Line 6: Line 6:
 
Crete following file, and paste/add there following one line:
 
Crete following file, and paste/add there following one line:
   
<code>
+
<code><pre>
 
vim /home/USERNAME/.Xresources
 
vim /home/USERNAME/.Xresources
 
Xft.dpi: 150
 
Xft.dpi: 150
</code>
+
</pre></code>
   
 
where USERNAME will be the name of your user.
 
where USERNAME will be the name of your user.

Revision as of 13:38, 30 July 2020

Contents

Set font size

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

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