Poor default fonts in Firefox
naddy at mips.inka.de
Wed Dec 27 16:10:08 UTC 2017
You install a new FreeBSD machine with a graphics display, install
the xorg and firefox ports on it, all default options, start browsing
the web... and you see that some sites (e.g. http://www.bbc.com/news)
are presented with pixelated fonts like something out of the 1990s.
What do you do?
This affects approximately everybody who uses FreeBSD on a desktop
or laptop, and it has for years. What's the standard solution, and
why doesn't this work out of the box?
The underlying problem is that certain popular font names, "Helvetica",
"Times", "Courier", are mapped to ancient bitmap fonts by default, e.g.:
$ fc-match Helvetica
helvR12-ISO8859-1.pcf.gz: "Helvetica" "Regular"
My personal solution for the last few years has been to pinch
OpenBSD's etc/fonts/conf.avail/31-nonmst.conf file...
... that maps these font names to DejaVu Sans/Serif/Sans Mono.
Still, that seems hackish and can hardly be expected from your
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the freebsd-questions