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
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
Behdad Esfahbod
1ac21246a7
[hb-ft] Fix bitmap font rendering with hb_ft_font_changed()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3754
Fixes https://github.com/harfbuzz/harfbuzz/issues/3755
2 years ago
Behdad Esfahbod
94de328011
[GSUB/GPOS] Adjust buffer message
2 years ago
Behdad Esfahbod
bc80e4b923
[GSUB/GPOS] More buffer message for contextuals
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3753
2 years ago
Behdad Esfahbod
59b05359cd
[GSUB/GPOS] Add more buffer messages
...
Behind HB_BUFFER_MESSAGE_MORE.
https://github.com/harfbuzz/harfbuzz/pull/3495
2 years ago
Behdad Esfahbod
0722b627f4
[buffer] Return delta from sync_so_far
2 years ago
Behdad Esfahbod
c55c019771
[buffer] Add assertions of buffer sync status to message_impl
2 years ago
Behdad Esfahbod
da9edce84c
[buffer] Add sync_so_far()
...
This removes separate out-buffer, at the cost of possibly changing
idx.
2 years ago
Khaled Hosny
cbccadba8d
5.0.1
2 years ago
Behdad Esfahbod
61d0c54701
[ft] Pass design, not normalized, coords to freetype
...
Needed for avar2 to work.
2 years ago