Garret Rieger
325fd6ddb8
[set] add tests for inverted set equality.
4 years ago
Garret Rieger
287032af6c
[set] update set test TODO list.
4 years ago
Garret Rieger
5c003d80a6
[set] add tests for inverted previous iteration.
4 years ago
Garret Rieger
3f2cc582f2
[set] add basic and iteration set inverion tests.
4 years ago
Garret Rieger
cb05c363d7
[subset] add some basic tests for the legacy subset methods.
4 years ago
Khaled Hosny
6ac6a2b27b
[test] hb_ot_layout_language_get_feature_tags()
4 years ago
Khaled Hosny
e9b743b26d
[test] hb_ot_layout_script_get_language_tags()
4 years ago
Khaled Hosny
bf438b815f
[test] hb_ot_layout_table_get_feature_tags()
4 years ago
Khaled Hosny
2f88ea5a20
[test] hb_ot_layout_table_find_script()
4 years ago
Khaled Hosny
f60caad7ff
[test] hb_ot_layout_table_get_script_tags()
4 years ago
Garret Rieger
c08f1b8903
[map] fix incorrect population count in hash map.
...
If the same key was set twice the population was being incorrectly incremented.
4 years ago
Garret Rieger
2c024dc3cb
[subset] prune redundant cmap12 subtables.
...
If the post subset cmap12 table is equivalent to another cmap subtable don't include the 12 table in the final subset. Matches change https://github.com/fonttools/fonttools/pull/2146 from fontTools.
4 years ago
Khaled Hosny
2cc9ed2b9e
[test] More lookup_collect_glyphs() tests
4 years ago
Khaled Hosny
0664037401
[test] More lookup_collect_glyphs() tests
4 years ago
Khaled Hosny
ecdd8e3f18
[test] More lookup_collect_glyphs() tests
4 years ago
Khaled Hosny
f998d7e1ce
[test] Add API test for lookup_collect_glyphs()
...
We don’t seem to have any tests exercising this API at all, and it is a
good check of GSUB/GPOS code.
4 years ago
Behdad Esfahbod
05cf81283b
[util/hb-shape] Fix use of EOF as end-of-line
...
EOF is -1, which was being treated as a valid char (255).
Use int instead.
4 years ago
Garret Rieger
f9d8e4a976
[subset] switch ..._set_flags to not take a mask.
4 years ago
Garret Rieger
3d534b146c
[subset] convert subset input flags into bit flags.
...
Store the flags in a bit set. Updates the public api to work with the bit set directly.
4 years ago
Garret Rieger
9ab751ac9f
[subset] Remove hb_subset(). Leaving just hb_subset_or_fail().
4 years ago
Garret Rieger
aba2e13141
[subset] Remove hb_subset_input_get/set_overlaps_flag ().
4 years ago
Garret Rieger
7d82191f61
[subset] Remove hb_subset_input_get/set_name_legacy ().
4 years ago
Garret Rieger
942636ae13
[subset] Remove hb_subset_input_get/set_retain_gids.
4 years ago
Garret Rieger
77b4a1cd96
[subset] Remove hb_subset_input_get/set_desubroutinize.
4 years ago
Garret Rieger
8bf5d4d4f7
[subset] Remove hb_subset_input_get/set_drop_hints.
4 years ago
Garret Rieger
0da9158f62
[subset] Remove OffsetTo::serialize().
...
Convert remaining uses of it to serialize_serialize() which correctly uses the object packer.
4 years ago
Behdad Esfahbod
bdfed8f113
[blob] Add failing versions of create API
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2567
New API:
+hb_blob_create_or_fail()
+hb_blob_create_from_file_or_fail()
Use these in util/ to distinguish empty file from not-found file.
Only err on the latter.
4 years ago
Garret Rieger
0989b5553a
[subset] Add test for overlaps flag setting.
4 years ago
Qunxin Liu
f739e1dc6a
[subset] subset both CPAL and COLRv1
4 years ago
Kurt Kartaltepe
2000f47ae5
[set] Compute is_subset by comparing pages.
...
Test subsets one page at a time instead of by codepoints. On my machine
this is about 250x faster than the previous implementation.
4 years ago
Garret Rieger
2b7647649a
[subset] update test-subset-gpos expected files.
4 years ago
Garret Rieger
425ba1f4ab
[subset] fixes infinite loop in hb_set_get_max().
...
Fixes https://oss-fuzz.com/testcase-detail/5363902507515904
4 years ago
Behdad Esfahbod
47cbf8f2c4
[test] Silence more compiler warnings
4 years ago
Garret Rieger
1b79b8cd2d
[subset] update gpos tests to reflect updated behaviour.
4 years ago
Behdad Esfahbod
1c693e8c28
[test] Fix unused-var warning
4 years ago
justvanrossum
1551f3d518
fixing more expected test results
4 years ago
justvanrossum
79e4f436e7
Apply rounding correctly when calculating glyph extents for CFF and CFF2; adjust expected test results
4 years ago
justvanrossum
d01ebeae21
calculate extents based on scaled then rounded values; undo two of the earlier test result adjustments
4 years ago
justvanrossum
1d02e9c63b
two more adjusted expected extents results (still not convinced this is the right thing, though)
4 years ago
justvanrossum
cd0babe6a6
adjust expected test result
4 years ago
David Corbett
b2e7bb2a7c
Don’t map BCP 47 to coincidentally similar OT tag
4 years ago
David Corbett
17da41bd06
Update language system tag registry to OT 1.8.4
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
ebraminio
1f8b1e7f18
[ENOMEM] Return gracefully if stages isn't initialized correctly ( #2639 )
...
This happens if calls to 'm.lookups[table_index].push ()' has been
silently failed due to lack of memory.
This change just returns gracefully instead issuing the assert.
Fixes https://crbug.com/oss-fuzz/24494
4 years ago
David Corbett
91fe20f0f5
Disambiguate OT tags when primary tag is not first
5 years ago
Ebrahim Byagowi
5193357832
Revert "Remove autotools build support"
...
This reverts commit 01ac32aab2
.
5 years ago
Ebrahim Byagowi
01ac32aab2
Remove autotools build support
5 years ago
Ebrahim Byagowi
694a0c6bbc
[meson] Always add icu deps
5 years ago
Ebrahim Byagowi
aa732e454a
[tests] minor, ligcarets is fetched from gdef not gsub
5 years ago
Ebrahim Byagowi
122a2897e4
[aat] Remove lcar support
...
Very low use, only two distinct font files, Apple Chancery.ttf and Hoefler Text.ttc
have it so it really doesn't worth the size addition and so, but one may argue that
whole ligature caret is low use but guess we better to encourage GDEF one anyway.
5 years ago