Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

most modern apps use fontconfig to, well, configure fonts, and afaik ignore these Xft X resources.

So something like this is needed in ~/.config/fontconfig/fonts.conf:

  <?xml version='1.0'?>
  <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  <fontconfig>
  <match target="font">
  <edit mode="assign" name="rgba"><const>rgb</const></edit>
  <edit mode="assign" name="hinting"><bool>true</bool></edit>
  <edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
  <edit mode="assign" name="antialias"><bool>true</bool></edit>
  <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
  </match>
  </fontconfig>


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: