[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
RE: [XaraXtreme-dev] Font metrics and kerning update
- From: Martin Wuerthner <lists@xxxxxxxxxxxxxxx>
- Date: Wed, 19 Apr 2006 18:56:20 +0200
- Subject: RE: [XaraXtreme-dev] Font metrics and kerning update
In message <5056CBC646CB4047BB26120F4377DB719BA2FC@xxxxxxxxxxxxxxxxxxx
>
"Charles Moir" <CharlesM@xxxxxxxx> wrote:
> Does the 'uncached' comment suggest that kerning data is usually cached
> in Camelot?
Yes. The Windows code simply reads the complete kerning table from the
font and stores it in a cache. The cache size is configured to be 3,
so only 3 fonts can be cached at the same time, i.e., when the 4th is
needed one previous entry is discarded.
With FreeType, it is not possible to read the complete kerning table,
and it might not be a good idea for a huge Unicode font anyway. It
would still be possible to cache the kerning pairs (and it would
probably be a good idea).
Martin