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
Behdad Esfahbod
473a5e5651
[font] Fix design-coords
...
Ouch!
2 years ago
Khaled Hosny
efab763885
[ci] Fix docs deployment
...
Trigger build on tag pushes, and simplify the condition for calling
.ci/deploy-docs.sh.
2 years ago
Khaled Hosny
40b21edf48
5.0.0
2 years ago
Behdad Esfahbod
4cb83967aa
[subset/ClassDefFormat2] Fix timeout
...
Fixes https://oss-fuzz.com/testcase-detail/5417800474165248
2 years ago
Behdad Esfahbod
32c85b8c8c
[avar2] Fix mapping when coords length don't match
...
Ouch.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49407
2 years ago
Behdad Esfahbod
06c3ec0a19
[avar2] Minor sanitize rewrite
2 years ago
Behdad Esfahbod
f94a3ba1db
[varStore] Better protect against HB_NO_VAR builds
2 years ago
Behdad Esfahbod
17863bd16b
[config/avar2] add HB_NO_VARIATIONS2
2 years ago
Behdad Esfahbod
5a9c7930ef
Add HB_NO_BEYOND_64K
2 years ago
Behdad Esfahbod
c76fd3c5f9
[avar2] Add link to "Spec".
2 years ago
Behdad Esfahbod
edca52c3b6
[avar2] Use a varStore cache
2 years ago
Behdad Esfahbod
59f8afa73e
[avar2] Remove XXX item
2 years ago
Behdad Esfahbod
d6c4f757a4
[avar2] Clamp out values
2 years ago
Behdad Esfahbod
d0e2ad9297
[avar] Pre-alloc vector
2 years ago
Behdad Esfahbod
2a877b554a
[avar2] First stab at mapping v2 values
2 years ago
Behdad Esfahbod
c3eb6713e9
[avar2] Add v2 structure and sanitize
2 years ago
Behdad Esfahbod
c9e843942e
[min/max] Don't forward argument
2 years ago
Khaled Hosny
7a219ca9f0
[ci] Install glib-utils on macOS
...
The glib utils have been split into a separate homebrew package.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3747
2 years ago
Behdad Esfahbod
cb5ca6be29
[ft] Actually call check_changed() from _changed()
...
Ouch!
Fixes https://github.com/harfbuzz/harfbuzz/issues/3746
2 years ago
Behdad Esfahbod
fd535a240b
[ft] Remove check_changed from get_glyph_shape()
...
Leftover.
2 years ago
Behdad Esfahbod
7cdde6a241
[ClassDef] Write a loop as range for
2 years ago
Behdad Esfahbod
0cc2f3c218
[algs] Remove hb_pair_t()
2 years ago
Behdad Esfahbod
9eab3ac72d
[CoverageFormat2] Remove hand-written loop
...
While on a fuzzer-found test case (added) that loop was faster,
on real fonts, including NotoNastaliq in our benchmark, it was
actually slower, which intuitively I would have expected.
Still no idea why on that fuzzer case it's faster though. :(
2 years ago
Behdad Esfahbod
bbb4db90dd
[Coverage/SingleSubst] Move hand-written loop to Coverage
2 years ago
Behdad Esfahbod
7b95783efb
[Coverage] Internal rename
2 years ago