Ebrahim Byagowi
b4f34539c2
[fuzzer] test more of ot-layout APIs
5 years ago
Ebrahim Byagowi
a6bcc577a9
[meson] don't `add_dist_script` when we are subproject
...
Happens when harfbuzz is used as a meson subproject,
`ERROR: add_dist_script may not be used in a subproject.`
5 years ago
Ebrahim Byagowi
175d93bbda
[mesos/docs] fix gobject headers ignoring logic
...
fixes #2463
5 years ago
Ebrahim Byagowi
25cf687443
Use dagger in OffsetTable::get_table_tags ( #2477 )
5 years ago
Ebrahim Byagowi
dce4353f86
Merge pull request #2476 from ebraminio/cv-get-chars
...
[layout] Use dagger in hb_ot_layout_feature_get_characters
5 years ago
Ebrahim Byagowi
89a2c46e61
[math] Use dagger ( #2478 )
...
* [math] Use dagger
* [ot-math] Address Behdad's review
5 years ago
Ebrahim Byagowi
d38eb49f46
Move the iteration logic to FeatureParamsCharacterVariants
...
Hopefully I can make members protected also.
5 years ago
Ebrahim Byagowi
9b3d4f457e
Use dagger in hb_ot_layout_feature_get_characters
...
The way it used to work was a bit nonidiomatic but the replacment
is idiomatic way of iterating used elsewhere.
The new code just doesn't check nullability of "characters", which isn't
what we do anywhere else.
5 years ago
Ebrahim Byagowi
675854b2ba
[test] Add one more test for hb_ot_layout_feature_get_characters
5 years ago
Ebrahim Byagowi
63422c4cbc
[ot-layout] simplify
5 years ago
Ebrahim Byagowi
407bba3e0d
minor
...
move FeatureParamsCharacterVariants::sanitize method right above members
5 years ago
Ebrahim Byagowi
f1488152bd
[doc] Remove the not needed comment
...
All the other similar iterating API are like this and don't have such
comment, written at the time I wasn't familiar enough with the way such
API are shaped.
5 years ago
Behdad Esfahbod
1535440b48
[dispatch] Fix debug builds
5 years ago
Ebrahim Byagowi
bb9a40da65
[lcar] Use dagger
5 years ago
Behdad Esfahbod
6fbb59aba6
Use daggers in a few get_array functions
...
As I review https://github.com/harfbuzz/harfbuzz/pull/2471
5 years ago
Ebrahim Byagowi
a512ca8eae
Merge pull request #2473 from harfbuzz/gsub-alternate
...
fixes #673
5 years ago
Ebrahim Byagowi
03bd3efaa7
[meson] Write git revision to .tarball-revision on dist tarball
5 years ago
Behdad Esfahbod
70d6696cc6
[dispatch] Don't require debug_depth for untraced objects
5 years ago
Behdad Esfahbod
5bc4cedde6
Rename
5 years ago
Behdad Esfahbod
dc492d7c8a
[dispatch] Comment
5 years ago
Behdad Esfahbod
25aec0265c
[dispatch] Default return type to hb_empty_t
5 years ago
Behdad Esfahbod
8d0a90ac1b
[dispatch] Default debug level to 0
5 years ago
Behdad Esfahbod
d7d8604ec8
Remove excessive trace routes
5 years ago
Behdad Esfahbod
e47a2ab8f8
Remove unused dispatcher names
5 years ago
Behdad Esfahbod
b2a1acccd9
Simplify get_glyph_alternates() dispatcher
...
Trying to make it **very simple** to add a specialized dispatcher for
one API to be routed to just a few objects (one in this case).
5 years ago
Behdad Esfahbod
ffe8d3f39d
Use dispatch for get_glyph_alternates_t
...
First time we do this in a way that if target object doesn't have the matching
function we basically "ignore". Risky but I feel like is the right decision
for this case.
I'm going to put back the template varargs and use those, which would make
the dispatcher be just that: "dispatcher", and wouldn't need to carry the
call context. That would be a refreshing change I think.
5 years ago
Behdad Esfahbod
bedf417121
Push get_glyph_alternates() work all the way down
5 years ago
Behdad Esfahbod
5bede33885
Whitespace
5 years ago
Behdad Esfahbod
e13aaaaa45
Move API to right place in header
5 years ago
Behdad Esfahbod
26514ad70e
Fix API comment
5 years ago
Ebrahim Byagowi
1bac85828c
[layout] Rename _get_alternates to _get_glyph_alternates
5 years ago
Behdad Esfahbod
9ef9ac3749
[gpos] Break cycle-of-2 when cursive attaching
...
Fix thinko this time around.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2469
5 years ago
Ebrahim Byagowi
d3c169792b
[layout] move alternate buffer iteration logic to AlternateSet
5 years ago
Ebrahim Byagowi
1348a2c865
[layout] hb_ot_layout_lookup_get_alternates, a new API
...
An API to retrieve one-to-one alternates from a given GSUB lookup index.
5 years ago
Ebrahim Byagowi
a4955e21fd
[ci] install gobject-instrospection on linux ci
5 years ago
Behdad Esfahbod
3fe7195713
Revert "[gpos] Break cycle-of-2 when cursive attaching"
...
This reverts commit 7090707de6
.
5 years ago
Behdad Esfahbod
7090707de6
[gpos] Break cycle-of-2 when cursive attaching
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2469
5 years ago
Khaled Hosny
09dedb1b38
[tests] I’m an idiot
5 years ago
Khaled Hosny
2598855454
[tests] Add test for ReverseChainSingleSubstFormat1 missing substitute
...
https://github.com/harfbuzz/harfbuzz/issues/2467
5 years ago
Behdad Esfahbod
e5de3918f7
[indic] Add comment
...
https://github.com/harfbuzz/harfbuzz/issues/2298#issuecomment-615318654
5 years ago
Behdad Esfahbod
41ef75f64a
[gsub] Don't substitute in ReverseChainSingleSubstFormat1 if missing substitute
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2467
5 years ago
Behdad Esfahbod
e7c79e16b8
Merge pull request #2287 from simoncozens/instrumentation
...
Add messages for GPOS/GSUB (take 2)
5 years ago
Simon Cozens
fe926970bc
Reformat messages again
...
Messages can be:
start/end table XXXX
start/end lookup NNNN
start/end subtable NNNN (for kerx/kern)
start/end chainsubtable NNNN (for morx)
5 years ago
Ebrahim Byagowi
f31e3d426d
[ci] raise subset fuzzer timeout for asan and valgrind bots
5 years ago
Ebrahim Byagowi
cccdaf45df
[docs] minor
...
revealed now that we turned gobject/gir build to 'auto'
5 years ago
Ebrahim Byagowi
be278acf44
[ci] raise subset fuzzer cases runner timeout
...
the bots are either not optimized ones or sanitizer ones so not much value
on trying to optimize them further.
5 years ago
Ebrahim Byagowi
b86bfe5291
minor, fix lists sorting
5 years ago
Ebrahim Byagowi
4e7cb7e2c4
minor, fix lists sorting
5 years ago
Qunxin Liu
973c47f6c9
[subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS.
...
2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features
5 years ago
Ebrahim Byagowi
62de2f749c
[meson] Remove spaces before named parameter colons
...
meson documentations sometimes adds the space and sometimes don't and we
aren't adding it most of the times unconsciously so let's the cases and
be consistent.
5 years ago