On 09/30/2017 07:10 AM, Rich Shepard wrote: > The fc-cache man page explains that the tool searches all system path > directories for fonts, but not where this is controlled. Here I have removed > the Speedo and cyrillic subdirectories under /usr/share/fonts/ yet they > still appear in the searh list (with no fonts found). > > While harmless I'm curious to learn where this path information is stored > so I can remove the two non-existant directories. > > Rich
Rich, https://en.wikipedia.org/wiki/Fontconfig The config files to control system font behavior are here: /etc/fonts/fonts.conf fonts directories listed in fonts.conf are scanned on boot via /usr/bin/fc-cache -f (during boot when /etc/rc.M runs), but I don't think mkfontscale runs at boot. When you add OR subtract fonts, you can force a global rebuild with something like: --------------- #Run this as root. If you put anything into other directories, #add to the list for fontdir in 100dpi 75dpi OTF Speedo TTF Type1 cyrillic misc; do /usr/bin/mkfontscale /usr/share/fonts/${fontdir} /usr/bin/mkfontdir /usr/share/fonts/${fontdir} done /usr/bin/fc-cache -f -r -v ---------------- If you are using ~/.fonts then do as user mkfontscale ~/.fonts mkfontdir ~/.fonts fc-cache -f -r -v ~/.fonts That should clear out any kruft and regenerate everything. -Ed _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug