Some Windows fonts take a very long time for the win32 build of fontconfig to load, up to 650ms for a single ttf (ARIALUNI.TTF) or over 3.5 seconds for one ttc file (mingliu.ttc). I think most of the problem fonts are international fonts that are installed with various Windows XP language options (I have all languages installed to test locale stuff). Applying the path from Bug #3358 helps a lot, because then the cache works and the next startup is fast, but the first run still requires several seconds to build the cache. Can anything be done to speed this up, or is it unavoidable?
Created attachment 3121 [details] float.pdf
Tim, that is a CS 708 PDF about floating point numbers. Can you upload your profile stats please?
This is a very large ttf, mind you; apparently arialuni is 22MB.
Created attachment 5350 [details] Correct attachment I've got no idea where that file came from, sorry. Hopefully this is the correct file.
It seems the attachment from bug #3121 ended up attached here instead of the correct attachment the first time. As I'm writing this the second attachment is correct. I'm blaming bugzilla.
TrueType fonts are broken in various ways; fontconfig works around this by scanning the entire font once and caching the result. That's why it caches things.
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.