Behdad Esfahbod
1db6fddb24
[arabic-fallback.hh] Hook up 3-letter ligatures
2 years ago
Behdad Esfahbod
8978a18f31
[arabick-fallback] Apply mark ligatures
2 years ago
Khaled Hosny
dfc5e5a27d
[test] Skip glyph positions for test failing on CI
...
We are not interested in glyph positioning for this test, and the
FreeType version on some CI machines is giving some different glyph
advances here.
2 years ago
Khaled Hosny
189e8c326e
[ft] Remap legacy Arabic PUA codepoints
...
Similar to what ot font finctions does, to support Support legacy
pre-OpenType Windows 3.1-era fonts.
2 years ago
Khaled Hosny
c3f590bb1e
[arabic] Support legacy PUA shaping
...
Support legacy pre-OpenType Windows 3.1-era fonts, by remapping PUA code
points in cmap table and letting our fallback shaper build the GSUB
table.
Uniscribe applies also mset-like substitution, but our fallback mark
positioning gives better results, so this is not implemented.
2 years ago
Garret Rieger
af74ab452f
[repack] always run the sort in repack.
...
This is needed to ensure virtual link ordering constraints are respected when repack is being called from fontTools. For subset usage, repack won't be called if the graph doesn't already overflow so this change doesn't cause any extra work.
2 years ago
Garret Rieger
311413f16b
[subset] Fix fuzzer issue.
...
Fixes https://oss-fuzz.com/testcase-detail/5693568490012672 . new_index should be set from new_index2 when the entry is present in the map.
2 years ago
Behdad Esfahbod
697287fbd7
[benchmark-shape,hb-shape-threads] Fix argument parsing order
...
After recent change.
2 years ago
Behdad Esfahbod
c03a31417b
[hb-shape-threads] Adjustments similar to benchmark-shape
...
Duplication sighz.
2 years ago
Behdad Esfahbod
d7c9cc34ae
Fix build
2 years ago
Behdad Esfahbod
b39b5f2f31
[name] Implement approximate language matching
...
Very rudimentary.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3354
2 years ago
Khaled Hosny
26d8066a41
[test/shape] Remove texts subdirectory
...
These texts were never hooked into the test suite, they however
represent a good collection of test texts, but one can always access
them from git history.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3123
2 years ago
Khaled Hosny
cd41557a96
[test/shape] Add PhagsPa tests
...
Adopted from texts/in-house/shaper-arabic/script-phags-pa/misc/misc.txt.
Using Noto Sans PhagsPa.
2 years ago
Khaled Hosny
1ab12e314a
[test/shape] Add Malayalam dot-reph tests
...
Adopted from texts/in-house/shaper-indic/script-malayalam/misc/dot-reph.txt.
Using Noto Sans Malayalam.
2 years ago
Khaled Hosny
6b2f3b5a99
[test/shape] Add Javanese tests
...
Adopted from texts/in-house/shaper-use/script-javanese/misc.txt.
I don’t know what font this was originally tested against, so I used
Noto Sans Javanese.
2 years ago
Khaled Hosny
c9c47dd8ad
[test/shape] Add Hebrew diacritics tests
...
Adopted from 406044986a
. Using
TaameyFrankCLM.ttf from the Mozilla issue.
2 years ago
Khaled Hosny
ef5d7febc8
[test/shape] Allow using hb-subset in record-test.sh
...
I think it is about time we use our own subsetter here. FontTools can
still be used.
2 years ago
Behdad Esfahbod
7aacdd05bd
[cplusplus] Test hashing shared_ptr / unique_ptr
2 years ago
Behdad Esfahbod
d7785a6da0
[cplusplus] Add unique_ptr
2 years ago
Behdad Esfahbod
e0f3cab246
[cplusplus] Add hb-cplusplus.hh
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2152
2 years ago
Garret Rieger
98aaecd397
[subset] fix data race touching Crap() in cff subsetting.
2 years ago
Garret Rieger
d8d96b26e7
[threads-test] Add a threads test against hb-subset.
2 years ago
Garret Rieger
858570b1d9
[subset] add some additional 32bit var store cases.
...
Test the path where the 32 bit delta is not included.
2 years ago
Garret Rieger
209d6aa2b7
[subset] Update make files for 32bit_var_store test.
2 years ago
Garret Rieger
9c41bfe1a6
[subset] Add subset test of font with 32 bit delta in a var store.
2 years ago
Behdad Esfahbod
18cd15bede
Rename test
2 years ago
Behdad Esfahbod
62e803b361
[sbix] Limit glyph extents
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3557
2 years ago
Behdad Esfahbod
5a058ba158
[shape-fuzzer] Add commented out more buffer-verify option
...
Those currently fail and I've been unable to debug them.
I tried two, passing them to hb-shape doesn't reproduce the failure. :(
2 years ago
Behdad Esfahbod
189f65344a
[fuzz-shape] Verify shape output
...
Let the fuzzers loose on shape verify.
2 years ago
Behdad Esfahbod
33145a4b75
[test/shape] Pass --unsafe-to-concat to hb-shape
2 years ago
Behdad Esfahbod
b010962c3b
[test/hb-shape-threads] Silence hb_language_get_default() threadysafety issue
2 years ago
Behdad Esfahbod
4e59900ff5
[test/hb-shape-threads] Share font amongst threads
2 years ago
Behdad Esfahbod
18b0bd0f5f
[test/hb-shape-threads] Verify buffer
2 years ago
Behdad Esfahbod
484cc18732
[test-shape-threads] Set language
2 years ago
Behdad Esfahbod
f371789b40
Sprinkle static around
2 years ago
Behdad Esfahbod
4386626ee0
[test/threads] Fix dependency
2 years ago
Behdad Esfahbod
e0544c481d
[test/threads] Fix distcheck
2 years ago
Behdad Esfahbod
e3d5a117a3
[hb-shape-threads] Fix tsan race
2 years ago
Behdad Esfahbod
33c990f0a9
Include cassert to fix bots
2 years ago
Behdad Esfahbod
049af18684
[threads] Add suite to test
2 years ago
Behdad Esfahbod
87453f63fa
[hb-shape-threads] Fix current-work-dir so test passes
2 years ago
Behdad Esfahbod
f77faf8654
[hb-shape-threads] Allow overriding test parameters from cmdline
2 years ago
Behdad Esfahbod
f0fba59969
[hb-shape-threads] Reduce num-iterations
2 years ago
Behdad Esfahbod
e8a2436332
[threads] Add a condition_variable to test for all threads to be ready
2 years ago
Behdad Esfahbod
4d42a94c19
[threads] Add hb-shape-threads test
2 years ago
Garret Rieger
3472f73b79
[subset] also include no subset tables when guessing which tables are present.
3 years ago
Garret Rieger
9564d98739
[subset] fix subsetting of faces created via hb_face_create_for_tables.
...
Fixes #3609 .
3 years ago
Garret Rieger
4e11da054d
[repacker] update repacker test golden file.
...
Changed due to removal of Kahn sorting.
3 years ago
Behdad Esfahbod
25393288f0
[test] Fix compiler warning
3 years ago
Garret Rieger
52d59bf150
[perf] Make subset benchmark data driven.
3 years ago