I'm running 19.04 and I followed Full font hinting not working in Ubuntu 18.04 to enable full font hinting. It works for graphical applications such as Chromium, but not my terminal (urxvt). How do I enable full font hinting for urxvt?
Edit:
Here is a side-by-side screenshot of urxvt (left) vs. emacs (right). emacs' font is slightly crisper. I'll admit the difference doesn't look that impressive, but at work I use a 4K monitor with the resolution set to 1920x1080, and for whatever reason the difference is much more pronounced.
Here are the contents of my ~/.Xresources
:
URxvt.foreground: #F2F2F2
URxvt.background: #000000
URxvt.font: xft:Monospace:size=15
URxvt.perl-ext-common: selection-to-clipboard,font-size
URxvt.font-size.step: 1
URxvt.keysym.C-equal: perl:font-size:increase
/* stop Ctrl-Shift from entering ISO 14755 mode */
URxvt.iso14755: false
URxvt.iso14755_52: false
/* font-size plugin from https://github.com/majutsushi/urxvt-font-size */
Full font hinting is done with lines like
Xft*hintstyle: hintfull
andXft*hinting: true
. They can be added to your~/.Xdefaults
file. Here are some lines in mine:There are many things that you can add like also choosing different fonts, etc. You can play around with the settings till you get something you like. Everybody's different.:
After you launch
urxvt
it should look something like the following:Hope this helps (some)!