[HarfBuzz] Optmizing code using Harfbuzz

Keith Stribley devel at thanlwinsoft.org
Thu Nov 4 08:26:18 PDT 2010


On 11/04/2010 02:41 PM, Tom Hacohen wrote:
> Yes, I cache them. (Mostly, there's one place in which I don't yet and
> I'm working on it and it will happen, but mostly I do cache everything).
> With current caching I shape everything twice, which is a lot and I'll
> change it to 1 asap, but a 2 times speed up is still not enough to be
> fast enough.

I assume you have implemented a Glyph Metric cache and perhaps a cmap 
lookup cache? If you are using freetype it definitely benefits from it.

Keith




More information about the HarfBuzz mailing list