Optimize HB memory consumption of PairPos1 in GPOS tables
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 13 Mar 2012 12:18:14 +0000 (13:18 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 17:06:56 +0000 (18:06 +0100)
commit4a47187b7aee8f9d44778122e1d37d9c668d8323
tree1fbe153574cb181ef2d1026d38337f13764cec3c
parent0d43b8c617c4bb564e0789994de94f26506ad30b
Optimize HB memory consumption of PairPos1 in GPOS tables

This is pretty much the same fix as in
be0dfa34737a014e7ad060a90c4c24be9998fe13 but for PairPos
format 1 instead of 2.

With very simple GPOS tables we would waste a lot of memory on
caching an uncompressed table, so we now compress it in memory
as well.

Change-Id: I601331b4b83f636dab9e1ac403b343558c15b0de
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/3rdparty/harfbuzz/src/harfbuzz-gpos-private.h
src/3rdparty/harfbuzz/src/harfbuzz-gpos.c