|
From: | Cunningham, Duncan |
Subject: | [ft-devel] [PATCH] Stroked Glyph Caching |
Date: | Wed, 8 Aug 2012 14:22:28 +0000 |
I have added support to cache stroked glyphs. This introduces caching for stroked glyphs for both a sbitmap, and a regular image glyph. Also, support has been added to the FTC_Manager to cache FT_Stroker objects.
New API: · FTC_Manager_LookupStroker() · FTC_ImageCache_LookupStroker() · FTC_SBitCache_LookupStroker() · FTC_StrokerTypeRec – contains all information needed to call FT_Stroker_Set() · FTC_StrokerType – handle to FTC_StrokerTypeRec
Modified API: · FTC_Manager_New() – now takes an additional argument for the number of FT_Stroker objects to cache.
One thing I would note about the patch is the hash of a FTC_StrokerTypeRec just adds the data together. I don’t think this is the best hash method, but hopefully you guys have some better ideas.
--- Duncan Cunningham Software Engineer Consumer Software Technology Engineering x3036
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation. |
cache-stroked-glyphs.patch
Description: cache-stroked-glyphs.patch
[Prev in Thread] | Current Thread | [Next in Thread] |