[Fontconfig] fontconfig performance
John Ellson
ellson at research.att.com
Mon May 29 18:49:05 PDT 2006
I apologize if I'm being naive, but is it really necessary for fontconfig
to open 172 files to resolve "serif" ?
$ strace fc-match serif 2>&1 | grep open | grep fontconfig | wc -l
172
Perhaps once after a font change, but every time? Couldn't the result
of recent lookups be cached?
$ strace fc-match serif 2>&1 | grep open | grep fontconfig | wc -l
172
And why are some of those files opened multiple times?
strace fc-match serif 2>&1 | grep open | grep fontconfig | sort -u |
wc -l
64
John
More information about the Fontconfig
mailing list