3 ms·
* { font-family: 'Verdana, sans-serif !important' }
by sli 5y ago
* { font-family: 'Verdana, sans-serif !important' }
- ceejayoz 5y agoSure, and I can do that, at least in Firefox. https://superuser.com/questions/318912/how-can-i-override-the-css-of-a-site-in-firefox-with-usercontent-css https://superuser.com/questions/318912/how-can-i-override-th...
- pdkl95 5y agoIt took a while to setup, but fixing the problem in the font rendering layer has worked really well. Several years ago - after being annoyed by blurry/bad fonts, extremely bad hinting, and other font problems - I spent a few weeks investigating the way fonts are rendered and a few more weeks comparing many different fonts and various permutations of rendering/hinting methods. The result of all that work included a set of fontconfig files with long lists like this; <fontconfig> <alias> <family>Arial</family> <prefer><family>Ubuntu</family></prefer> </alias> <alias> <family>Helvetica</family> <prefer><family>Ubuntu</family></prefer> </alias> <!-- Many more aliases that --> <!-- force fonts to Ubuntu. --> <alias> <family>sans-serif</family> <prefer><family>Ubuntu</family></prefer> </alias> </fontconfig> This way, my font overrides happen in any software that uses fontconfig (i.e. most X11 software that uses TrueType fonts). $ fc-match Helvetica Ubuntu-R.ttf: "Ubuntu" "Regular" [1] https://en.wikipedia.org/wiki/Ubuntu_%28typeface%29 https://en.wikipedia.org/wiki/Ubuntu_%28typeface%29