After the recent font shuffle there has been some fallout with
font-related issues that have been reported to me by peers who use
FreeBSD. Following their troubleshooting notes, I forced a PORTREVISION
bump on databases/rrdtool and x11-toolkits/pango which may have been a
noop.
I gained access to yet another system with font-related issues and all
ports up to date including a rebuilt rrdtool and pango. The problem
persisted until I started investigating fontconfig.
On a system of mine with all ports/packages updated, I noted the output
of
fc-list
produced entries which still had /usr/local/lib/X11/fonts/ as the path
but the files there did not exist. Running
fc-cache
did not affect the outcome. It wasn't until I forced the update with -f
that the font list was updated to reflect the new paths. It also grew
the list of fonts substantially.
I do not think the existing fc-cache command is sufficient to ensure
fonts are readily available after they have been installed, which is why
I'm proposing we alter the @fcfontsdir command to run
fc-cache -sf
If this change is accepted, it might be necessary to require a
PORTREVISION bump on all fonts to ensure endusers are getting packages
with the updated fc-cache command so they do not have to manually
intervene.