Page MenuHomeFreeBSD

Force fonts cache refresh

Authored by feld on Apr 6 2015, 8:12 PM.
Referenced Files
Unknown Object (File)
Apr 14 2023, 1:48 AM
Unknown Object (File)
Mar 24 2023, 8:46 PM
Unknown Object (File)
Mar 24 2023, 8:46 PM
Unknown Object (File)
Mar 24 2023, 8:46 PM
Unknown Object (File)
Mar 21 2023, 4:01 AM
Unknown Object (File)
Jan 18 2023, 11:10 PM
Unknown Object (File)
Jan 18 2023, 11:09 PM
Unknown Object (File)
Jan 18 2023, 11:09 PM



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

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


produced entries which still had /usr/local/lib/X11/fonts/ as the path
but the files there did not exist. Running


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

Diff Detail

rP FreeBSD ports repository
Lint Skipped
Tests Skipped

Event Timeline

feld retitled this revision from to Force fonts cache refresh.
feld updated this object.
feld edited the test plan for this revision. (Show Details)
feld added reviewers: bapt, kwm.
bapt edited edge metadata.
This revision is now accepted and ready to land.Apr 6 2015, 8:20 PM
kwm edited edge metadata.
feld updated this revision to Diff 4710.

Closed by commit rP383480 (authored by @feld).