[HarfBuzz] fallback kern optimization
Jonathan Kew
jfkthame at googlemail.com
Sun Oct 27 11:53:02 PDT 2013
It's a relatively small thing, but we can get a slight win for the case
where kerning has been disabled if we add an early return to
_hb_ot_shape_fallback_kern().
Looks to me like we can also reduce the use of buffer->... there when
kerning is being applied, which might help a bit (depending how well the
compiler optimizes stuff.)
These changes seem to yield a small but just-about-measurable
improvement with old fonts that lack GPOS kerning.
JK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fallback-kern-opt.patch
Type: text/x-patch
Size: 2558 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20131027/ea7c1067/attachment.bin>
More information about the HarfBuzz
mailing list