Re: [dev] [st] font fallback

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat, 05 Jan 2013 15:57:21 +0100

Greetings.

On Sat, 05 Jan 2013 15:57:21 +0100 Charlie Kester <corky1951_AT_comcast.net> wrote:
> On 12/29/2012 12:20 AM, Kai Hendry wrote:
> > Initially I was worried that the newer version was somehow slower to
> > the version I was running before.
>
> Not slower, but definitely bigger. The stripped executable is now 16x
> the size of that from the 0.3 release -- thanks, no doubt, to these font
> caches, which are implemented as static arrays.

That’s only partially true. The array is adding 48k, which another patch
series will reduce. Most of the additional memory usage is due to the
font handling. So the inability of font handling in X.org/Fontconfig is
the reason why too much has to be done over and over again. Yet another
abstraction layer would hide it but waste the same resources.


Sincerely,

Christoph Lohmann
Received on Sat Jan 05 2013 - 15:57:21 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 05 2013 - 16:12:04 CET