Ebrahim Byagowi
9c64b216ec
[feat] Apply renamings and add documentation
6 years ago
Ebrahim Byagowi
a8726cb483
[feat] Use bsearch
6 years ago
Ebrahim Byagowi
4009a05ca7
[feat] Address Behdad comments
6 years ago
Ebrahim Byagowi
19b6025534
[feat] Address @behdad comments
6 years ago
Ebrahim Byagowi
9212ec203c
[feat] Complete feature types list
6 years ago
Ebrahim Byagowi
fbad794bd2
[feat] Add feature iteration API
6 years ago
Ebrahim Byagowi
7a0471aa35
[feat] Turn AAT feature id into enum
6 years ago
Ebrahim Byagowi
b233fa4bc9
[feat] Rename records to selectors as @drott
6 years ago
Ebrahim Byagowi
a157b3e4eb
[feat] Apply @behdad comments
6 years ago
Ebrahim Byagowi
3aff3f822f
[feat] Apply @drott and @jfkthame comments
6 years ago
Ebrahim Byagowi
b791bbbae4
[feat] Apply @jfkthame reviews
6 years ago
Ebrahim Byagowi
95abd53758
[feat] Expose public API
...
* hb_aat_get_feature_settings
6 years ago
Behdad Esfahbod
264c4a539c
[test] Reorder test suites
...
aots is less interesting. Run text-rendering-tests before aots.
6 years ago
Behdad Esfahbod
9326912941
[kerx] Fix crash
6 years ago
Behdad Esfahbod
6ee401049d
Simplify sanitize set_object() / fix bots
6 years ago
Behdad Esfahbod
c5a6b355e1
[kerx] Port to hb_sanitize_with_object_t
6 years ago
Behdad Esfahbod
c405ed0509
[morx] Port to hb_sanitize_with_object_t
6 years ago
Behdad Esfahbod
1e8994221f
Add hb_sanitize_with_object_t
...
Context manager.
6 years ago
Behdad Esfahbod
b3c5affc05
Simplify sanitize set_object()
6 years ago
Behdad Esfahbod
3d30972699
[aat] Skip terminator in VarSizedBinSearchArray<>
...
Fixes shaping with Apple Chancery on 10.13 again. In that font,
there was a terminator segment, that was tripping off sanitize().
6 years ago
Behdad Esfahbod
4202a3cde3
Minor
6 years ago
Behdad Esfahbod
1c2302bbf1
[debug] Print function in return_trace()
6 years ago
Behdad Esfahbod
748198a671
Revert "[aat.morx] Remove set_object() business"
...
This reverts commit ae8ed58a6e
.
Apparently this broke Apple Chancery from OS X 10.12 :(.
Investigating...
6 years ago
Behdad Esfahbod
c8a2dc820e
Revert "[aat.kerx] Remove kerx subtable boundary enforcement"
...
This reverts commit 15905a2a29
.
6 years ago
Behdad Esfahbod
9eeebd8dde
Revert "[sanitize] Remove now-unused set_object() machinery"
...
This reverts commit bbdb6edb3e
.
6 years ago
Behdad Esfahbod
248ce22857
[tests] Minor
6 years ago
Behdad Esfahbod
f47c5da0aa
[arrays] Use hb_array_t<> in all places with sub_array()
6 years ago
Behdad Esfahbod
3246a8ebbd
[arrays] Merge ArrayOf's sub_array into hb_array_t's
6 years ago
Ebrahim Byagowi
e6877e28cd
[test] Add the missed aots fonts
6 years ago
Ebrahim Byagowi
825ea5a460
[test] Merge 10.12.6 and 10.13.6 tests, update to Apple Chancery fix
6 years ago
Behdad Esfahbod
bbdb6edb3e
[sanitize] Remove now-unused set_object() machinery
6 years ago
Behdad Esfahbod
15905a2a29
[aat.kerx] Remove kerx subtable boundary enforcement
...
Have not encountered fonts needing this, but same reasoning as
for morx (see previos commit.)
6 years ago
Behdad Esfahbod
ae8ed58a6e
[aat.morx] Remove set_object() business
...
With OS X 10.13 Apple Chancery fails to ligate if we limit each morx
sub-chain to its declared length. Perhaps their newer compiler does
object-sharing across sub-chains. Anyway, since that's a valid, if
unspecified, way to compile tables, remove enforcement.
Probably do the same with kern/kerx.
6 years ago
Ebrahim Byagowi
b518e5af9f
Add 10.13.6 aat fonts tests and bot ( #1409 )
6 years ago
Behdad Esfahbod
b7f7950e8f
[aat] Add test for recent regression
6 years ago
Behdad Esfahbod
ea9512e61a
[tests] Redo test runner logging a bit
6 years ago
Behdad Esfahbod
5020affc38
[tests] Minor
6 years ago
Behdad Esfahbod
ee3a3e10d4
[tests/shaping] Allow comments in test files
...
Line should start with "# ".
6 years ago
Behdad Esfahbod
ed900ee9af
[tests] Rename
6 years ago
Behdad Esfahbod
20edc70d53
[morx/kerx] Fix sanitize regression
...
Broke in 8dcc1913a1
If sanitizer is left with another object, it wouldn't work.
Better fix coming soon.
6 years ago
Ebrahim Byagowi
3cc14e78ae
[test] Enable more of aots tests ( #1408 )
...
The ones commented out in this change should've be passed :/
a closer look is needed.
6 years ago
Ebrahim Byagowi
24887d1115
Add Adobe AOTS tests ( #1395 )
...
Annotated OpenType Specification or aots, https://github.com/adobe-type-tools/aots
provides a set of tests for OpenType specification, this change add those tests in addition
to modified version of their HarfBuzz test runner for generating harfbuzz project specific tests.
6 years ago
Behdad Esfahbod
ae96c98dfa
[color] Use SortedUnsizedArrayOf<>
6 years ago
Behdad Esfahbod
4a3b20738f
[trak] Coment
6 years ago
Behdad Esfahbod
918b1ee54d
[arrays] Add not_found to reference bsearch as well
6 years ago
Behdad Esfahbod
d77a098b73
[arrays] Improve bfind() interface
...
Much more useful now. :)
6 years ago
Behdad Esfahbod
1204a247a5
[fuzzing] Add tests for previous commit
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11526
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11522
6 years ago
Behdad Esfahbod
8dcc1913a1
[kerx/morx] Make sure object length is sanitized before accessing it
6 years ago
Behdad Esfahbod
70d80c90fe
[arrays] Port ArrayOf.qsort() and hb_vector_t.qsort() to hb_array_t
6 years ago
Behdad Esfahbod
073d837aa2
[arrays] Port ArrayOf.qsort() to hb_array_t's
6 years ago