The mplayer build I use on windows reloads the font cache every time I restart my computer. I found out the cause of this is that I clear the temp dir on restart and it keeps the font cache there.
I wondered: how to make mplayer do not always reload the font cache?
(It takes a lot of time and I'm usually "off guard" when this happens. Being able to live with only 1 or 2 fonts usually, I often perceive it like "adding injury to insult".)
Other builds I've tried before are used to reload the full font cache in each new working directory, as they placed the cache in that local directory. As sources for up-to-date builds of windows binaries varied somehow over the years, it would be good to know, what mplayer tries to actually do.
- How to make fontconfig search for the fonts (cache) elsewhere?
- How exactly is mplayer searching for fonts? (Does it always rely on fonts.conf?)
- Is it possible to disable fontconfig from the command line? What would mplayer do then?
- Can I disable updating of the font cache even when fonts do change? (Ie. "only use already known fonts forever")
Note: There used to be a single, built-in, default font in old times for mplayer. What happened to that?
I've found an option <cachedir> in fonts/fonts.conf, relative to mplayer.exe, which I can use to solve 1. (I keep it up to date manually when a new build arrives and I often forgot to do so. And the rest of the questions still remains. Also, where does it search for the fonts/fonts.conf file?)