[Fontconfig] Lazy caching
Behdad Esfahbod
behdad at behdad.org
Fri Mar 11 02:31:59 UTC 2016
On Thu, Mar 10, 2016 at 5:39 PM, Jerry Casiano <jerrycasiano at gmail.com>
wrote:
> Sounds right.
>
> Does it really require a version bump though?
>
Definitely can be done with the current API, since charsets are always
access through function calls. It affects FcPatternHash possibly.
That said, I like to suggest we make a slight API breakage, by removing
fcprivate.h, and making FcType and FcValue opaque. I don't think I saw any
client, ever, use those things. FcObjectType and FcConstant stuff are
also, I haven't seen used at all.
> On Mar 10, 2016 6:30 PM, "Behdad Esfahbod" <behdad at behdad.org> wrote:
>
>> I've started to convince myself that fontconfig should NOT by default
>> cache the charset info of all fonts, and do so only lazily. This will
>> solve most of the "caching is slow" issues... Needless to say, that's
>> better done in a fontconfig3...
>>
>> --
>> behdad
>> http://behdad.org/
>>
>> _______________________________________________
>> Fontconfig mailing list
>> Fontconfig at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>>
>>
--
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20160310/019b5b53/attachment.html>
More information about the Fontconfig
mailing list