Xft 2.1 hard-codes XftMaxFreeTypeFiles to be 5 in xftfreetype.c, meaning that at maximum 5 freetype files are open at any given time, with a random one being evicted if a new one is requested. This is leading to the problem described in https://bugzilla.mozilla.org/show_bug.cgi?id=330064 -- basically, if a file with many scripts is loaded, this leads to significant cache thrashing and file loading and unloading. (The file in question jumps between scripts very often.) We can work around this by doing dlsym hacks to get at XftMaxFreeTypeFiles (since I note that it's not declared static), but it would be better if this was explicitly exported via either a function to configure Xft or through a global xft config. (though there doesn't seem to bean XftConfig any more?)
Seems trivial enough to do, but this is so old. Is it still worth doing?
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.