Behdad Esfahbod
23dbd35ca3
Merge branch 'main' into split_pair_pos
2 years ago
Behdad Esfahbod
a5d9012e94
Revert "[ot-font] Minor simplification"
...
This reverts commit 28c02b3768
.
Old code was used in case of memory allocation failure (as shown
by fuzzers...)
2 years ago
Garret Rieger
9578c44ea2
[repacker] add HB_FALLTRHOUGH.
2 years ago
Garret Rieger
6a5e2cb2f8
[repacker] add todo.
2 years ago
Garret Rieger
14f95ee0cf
[repacker] re-count shared node sizes in split PairPos segments.
2 years ago
Garret Rieger
3b91fb2a9f
[repacker] cleanup todo.
2 years ago
Garret Rieger
a0b8893e46
[repacker] add Coverage sanitize.
2 years ago
Garret Rieger
38846f41d3
[repacker] more TODO cleanup.
2 years ago
Garret Rieger
46c1fa7d1b
[repacker] sanitize PairPos during subtable extension.
2 years ago
Garret Rieger
2a5902ee50
[repacker] cleanup.
2 years ago
Garret Rieger
674f0194a3
[repacker] add extension pairpos split test.
2 years ago
Garret Rieger
1d2516f037
[repack] get basic pairpos split test working.
2 years ago
Garret Rieger
fb3f6ad7c0
[repacker] ensure lookup map is updated when lookup memory location changes.
2 years ago
Garret Rieger
4e7360f78d
[repacker] begin adding tests for PairPosFormat1 splitting.
2 years ago
Garret Rieger
f1bfb6585f
[repacker] cleanup debug prints.
2 years ago
Garret Rieger
65afed047d
[repacker] more bug fixes.
2 years ago
Garret Rieger
1002a3dcd3
[repacker] bug fixes.
2 years ago
Garret Rieger
a5c2c8c131
[repack] fix incorrect shrink.
2 years ago
Garret Rieger
d589ce68ea
[repacker] add extension subtable when needed while adding new PairPos table's.
2 years ago
Garret Rieger
5024d4de67
[repack] more PairPos split implementation.
2 years ago
Garret Rieger
510b8ab101
[repack] link new coverage in PairPosFormat1::clone_range.
2 years ago
Garret Rieger
29cb8818cd
[repacker] new coverage serialization in PairPosFormat1.
2 years ago
Garret Rieger
8d63f60e5b
[repack] add graph_t::move_child helper function.
2 years ago
Garret Rieger
8e5fffc44a
[repack] add helper to create new nodes.
...
Switch to malloc'ing each node individually rather than trying to guess up front the total buffer space needed.
2 years ago
Garret Rieger
bf0986c7d1
[repack] sketch splitting mechanism for PairPosFormat1.
2 years ago
Garret Rieger
f6a242b605
[repacker] begin adding PairPos splitting support.
2 years ago
Garret Rieger
f3aff45e04
[repacker] Update call to hb_subset_repack_or_fail in tests.
2 years ago
Garret Rieger
69913e012e
[repacker] Update repacker api method to take a table tag.
...
This is needed to allow table specific optimizations to be performed during repacking.
2 years ago
Behdad Esfahbod
28c02b3768
[ot-font] Minor simplification
2 years ago
Behdad Esfahbod
149b030520
Fix thinko
2 years ago
Behdad Esfahbod
bdbb8c297e
Add test for previous commit
2 years ago
Behdad Esfahbod
f7677213d7
[SingleSubstFormat1] Don't close glyphs in degenerate cases
...
Fixes https://oss-fuzz.com/testcase-detail/5145429829877760
2 years ago
Behdad Esfahbod
3da50c50aa
Remove unused const
2 years ago
Khaled Hosny
0c4495e555
[meson] Don’t use f-string
...
It requires Python 3.6+
https://github.com/harfbuzz/harfbuzz/pull/3760#issuecomment-1198972788
2 years ago
Behdad Esfahbod
e51526bf06
[CompositeGlyph] Add HB_NO_BEYOND_64K
2 years ago
Behdad Esfahbod
6e6b9cf972
[use-table] Adjust main() code
2 years ago
Khaled Hosny
eaf7e5686c
[meson] Use pathlib in gen-harfbuzzcc.py
2 years ago
Khaled Hosny
5df2347cf3
[meson] Don’t tamper with paths in amalgam files
...
Using os.path.basename() breaks files in subdirectories
(gsubgpos-graph.cc instead of graph/gsubgpos-graph.cc).
Use paths relative to current source dir instead.
2 years ago
Behdad Esfahbod
0c5b60acbd
[use-table] Fix previous commit
2 years ago
Behdad Esfahbod
0788f77371
[use-table] Add a main() to print categories
2 years ago
Behdad Esfahbod
9aaa835ac1
[use-table] Regenerate with latest packtab
2 years ago
Behdad Esfahbod
3698ae25bf
[harfbuzz-subset.cc] Update
2 years ago
Behdad Esfahbod
e2cc34e190
[subset/GPOS] Fix a fuzzer timeout test
...
Fixes https://oss-fuzz.com/testcase-detail/5234369031176192
2 years ago
Garret Rieger
241ebc9354
[repacker] fix include paths.
2 years ago
Garret Rieger
5f4adb9bf3
[repacker] fix to lookup size comparison.
2 years ago
Garret Rieger
6627204c4d
[repacker] Makefile fix.
2 years ago
Garret Rieger
f56e66f3f0
[repacker] for ext promotion choose lookups from highest subtables per byte to lowest.
...
Attempts to roughly maximize the number of subtables that are non-ext.
2 years ago
Garret Rieger
9d0b2da51b
[repacker] count subtable size in each group of consecutive layers for extension promotion decisions.
...
Enforce that the following groups are all <64k in size:
- LookupList + Lookups
- Lookups + SubTables
- SubTables + Descendants
2 years ago
Garret Rieger
3d37b9f4db
[repacker] when calculating 16bit space size also consider ext lookup subtables.
2 years ago
Garret Rieger
9db3beb721
[repacker] include LookupList size when calculating size of 16bit space for ext promotion decisions.
2 years ago