← All notes

Enable font smoothing

Edit ~/.config/fontconfig/fonts.conf

And between the <fontconfig> tags add:

<!--nice looking fonts starts-->
 <match target="font">
  <edit name="autohint" mode="assign">
   <bool>true</bool>
  </edit>
  <edit name="hinting" mode="assign">
   <bool>true</bool>
  </edit>
  <edit name="hintstyle" mode="assign">
   <const>hintslight</const>
  </edit>
 </match>
<!--nice looking fonts ends-->

then rebuild the fonts cache:

fc-cache -frv

Source: https://discuss.getsol.us/d/4156-okular-font-smoothing/7