Behdad Esfahbod
7c9e1ffa7c
Merge pull request #3762 from harfbuzz/safe-to-kashida
...
Prototype glyph flag safe-to-kashida
2 years ago
Behdad Esfahbod
f43dadb8ee
Rename kashida -> tatweel
2 years ago
Behdad Esfahbod
73c3ac9172
Document kashida stuff
2 years ago
Behdad Esfahbod
4f09ea5e6b
[hb-shape] Add --safe-to-insert-kashida flag
...
https://github.com/harfbuzz/harfbuzz/pull/3762
2 years ago
Behdad Esfahbod
d277addb2f
[buffer] Add HB_BUFFER_FLAG_PRODUCE_SAFE_TO_INSERT_KASHIDA
2 years ago
Behdad Esfahbod
915e12ccbb
Prototype glyph flag safe-to-kashida
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3721
2 years ago
Behdad Esfahbod
5e31a582c9
[emoji] Bump compression level
2 years ago
Behdad Esfahbod
56a5bc3bd0
[emoji] Regenerate test data
...
Fix generator.
2 years ago
Behdad Esfahbod
90a3355e66
[ucd-table] Use more compact compression numbers
...
Doesn't show any slowdown in benchmarks.
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
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
Garret Rieger
e0607af976
[repacker] Use extension promotion when repacking invoked via hb-subset-repacker (eg. from fonttools).
2 years ago
Garret Rieger
8d611a7fd0
[repacker] remove temporary visibility overrides in gsubgpos.
2 years ago
Garret Rieger
7de136f8a8
[repacker] add ext promotion test.
2 years ago
Garret Rieger
c38896e07c
[repacker] todo.
2 years ago
Garret Rieger
ad0041f5f7
[repacker] Add basic version of the extension promotion selection algorithm.
2 years ago
Garret Rieger
0b6ca424fc
[repacker] fix GSTAR sanitize.
2 years ago
Garret Rieger
11709f0fbe
[repacker] support extension promotion in 24bit GSUB/GPOS.
2 years ago
Garret Rieger
b37374b04f
[repacker] save buffer reference (not copy).
2 years ago
Garret Rieger
ae290ff4fe
[repacker] add sanitization for GSUB/LookupList/Lookup during extension promotion.
2 years ago
Garret Rieger
ce03c3538a
[repacker] add make_extension_context_t.
2 years ago
Garret Rieger
ebb64b50da
[repacker] size buffer correctly.
2 years ago
Garret Rieger
815bb82b4d
[repack] fix incorrect extension object bounds.
2 years ago
Garret Rieger
7e6f6c3e88
[repack] fix new node bounds.
2 years ago
Garret Rieger
b1d38a6d0b
[repack] WIP implement extension promotion mechanism.
2 years ago
Garret Rieger
3f7a74ff40
[repacker] WIP extension promotion implementation.
2 years ago
Behdad Esfahbod
1945b400da
[cpluscplus] Wrap hb-subset types as well
...
Also changes signature of get_user_data of hb.h types to take const
object. This is safe.
2 years ago