[hb-ot-font] Make 'glyf' table loading lazy
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 2 May 2016 08:24:00 +0000 (10:24 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 May 2016 08:24:00 +0000 (10:24 +0200)
commitf00ab2a33ab34ba64f38cbbe65830c770a3e071e
tree65c701ba494ed6b250d70532b5e055873294298f
parent587d46227a56940a7f5bb053cbeda6144394acf7
[hb-ot-font] Make 'glyf' table loading lazy

Apparently some clients have reference-table callbacks that copy the table.
As such, avoid loading 'glyf' table which is only needed if fallback positioning
happens.
src/hb-ot-font.cc
test/shaping/Makefile.am
test/shaping/fonts/sha1sum/7ef276fc886ea502a03b9b0e5c8b547d5dc2b61c.ttf [new file with mode: 0644]
test/shaping/tests/fallback-positioning.test [new file with mode: 0644]