Difference between revisions of "Improve Font Rendering"

m
Template inserted
(Marked this version for translation)
m (Template inserted)
Line 12: Line 12:


  <!--T:4-->
  <!--T:4-->
sudo nano /etc/fonts/local.conf
{{UserCmd|command=sudo nano /etc/fonts/local.conf}}


<!--T:5-->
<!--T:5-->
Line 50: Line 50:
<!--T:8-->
<!--T:8-->
''2. Create backup of ~/.Xresources file:''
''2. Create backup of ~/.Xresources file:''
  cp ~/.Xresources ~/.Xresources.bak
  {{UserCmd|command=cp ~/.Xresources ~/.Xresources.bak}}


<!--T:9-->
<!--T:9-->
Line 61: Line 61:
<!--T:11-->
<!--T:11-->
''3. Open/Create ~/.Xresources file in text editor:''
''3. Open/Create ~/.Xresources file in text editor:''
  nano ~/.Xresources
  {{UserCmd|command=nano ~/.Xresources}}


<!--T:12-->
<!--T:12-->
Line 80: Line 80:
<!--T:15-->
<!--T:15-->
''4. Run the following command in terminal:''
''4. Run the following command in terminal:''
  xrdb -merge ~/.Xresources
  {{UserCmd|command=xrdb -merge ~/.Xresources}}




Line 91: Line 91:


  <!--T:18-->
  <!--T:18-->
sudo ln -s  /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/
{{UserCmd|command=sudo ln -s  /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/}}


  <!--T:19-->
  <!--T:19-->
sudo ln -s  /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
{{UserCmd|command=sudo ln -s  /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/}}




Line 104: Line 104:


  <!--T:22-->
  <!--T:22-->
mkdir -p ~/.config/fontconfig/
{{UserCmd|command=mkdir -p ~/.config/fontconfig/}}


  <!--T:23-->
  <!--T:23-->
nano ~/.config/fontconfig/fonts.conf
{{UserCmd|command=nano ~/.config/fontconfig/fonts.conf}}


<!--T:24-->
<!--T:24-->
Line 160: Line 160:


  <!--T:27-->
  <!--T:27-->
sudo fc-cache -fv
{{UserCmd|command=sudo fc-cache -fv}}


=See Also= <!--T:28-->
=See Also= <!--T:28-->
translator
1,001

edits