Behdad Esfahbod
0a38878549
[set] Minor touch-up on the previous commit
3 years ago
Behdad Esfahbod
a003fc0df1
Remove accidental files
3 years ago
Andrew John
0182988229
[set] Add call to export set contents to an array. ( #3500 )
...
[set] Add hb_set_next_many.
3 years ago
aneejit1
a55a42444d
Meson build writes to the source directory (issue #3507 ) ( #3508 )
...
Don't write to source directory if files did not change
Remove writes to the source directory which cause a meson build failure
if the source directory is read-only.
https://github.com/harfbuzz/harfbuzz/pull/3508
3 years ago
Behdad Esfahbod
bf2a845a17
[ot-layout] Comment
3 years ago
Behdad Esfahbod
a792e16e48
[ot-layout] Change max nesting level of lookups from 6 to 64
3 years ago
Khaled Hosny
f76ffa8374
[build] Change how platform shaper tests are enable
...
Run the tests unconditionally and skip if the shaper is not available.
This fixes distcheck (https://github.com/harfbuzz/harfbuzz/pull/3504 )
and shows SKIP for these tests instead of ignoring them.
3 years ago
Khaled Hosny
38575c9042
Merge pull request #3504 from fanc999/dist-plat-shaper-tests
...
test: Dist the platform shaper test data
3 years ago
Chun-wei Fan
eb44d64bc2
test: Dist the platform shaper test data
...
For builds from release tarballs, the tests fail in the DirectWrite and
Uniscribe tests when these platform shapers are enabled, since the data files
were not found in the source tree, when building with Meson at least.
Fix this by dist'ing the platform shaper test data files.
3 years ago
Garret Rieger
444c2375a1
[reorg] Use relative includes for hb-ot-layout-gsubgpos.hh
3 years ago
Garret Rieger
b342adeb96
[reorg] Move GSUB into OT::Layout::GSUB namespace.
3 years ago
Garret Rieger
a9910e258f
[reorg] Move SubstLookup and GSUB into the new layout.
3 years ago
Garret Rieger
90af2143d5
[reorg] Move ReverseChainSingleSubst to new layout.
3 years ago
Garret Rieger
403feb3804
[reorg] Move LigatureSubst to new layout.
3 years ago
Garret Rieger
6a369389d6
[reorg] Move AlternateSubst to new layout.
3 years ago
Garret Rieger
dea0681db2
[reorg] Move MultipleSubst into new layout.
3 years ago
Behdad Esfahbod
7243bf3e41
[reorg] Use relative include
3 years ago
Behdad Esfahbod
c180f93766
[reorg] Move sanitize/dispatch and size macros to top
3 years ago
Garret Rieger
f577d02f4a
[reorg] Fix check-* scripts to work with sources files in directories.
3 years ago
Garret Rieger
3ef180db44
[reorg] Move SingleSubst opentype fields to top of the classes.
3 years ago
Garret Rieger
7dfd9e7001
[reorganization] WIP move single substitution into separate files.
3 years ago
Khaled Hosny
c36844d6d9
4.1.0
3 years ago
Behdad Esfahbod
0fec8ad848
Remove old TODO file
3 years ago
Behdad Esfahbod
d35c73cd37
[buffer] Whitespace
3 years ago
Behdad Esfahbod
280355b31f
Merge pull request #3497 from harfbuzz/vertical-origin
...
[ot-font] Fix vertical-origin fallback to match FreeType
3 years ago
Behdad Esfahbod
36b8f97413
Update tests for recent changes
3 years ago
Behdad Esfahbod
1449498e1d
[ot-font] Vertically center glyph in vertical writing fallback
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/537
3 years ago
Behdad Esfahbod
bf03d7e962
[ot-font] Use ascent+descent for fallback vertical advance
...
This matches what FreeType does.
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/537
3 years ago
Behdad Esfahbod
df42d28d18
[hmtx] Change default advance for horizontal direction to upem/2 again
3 years ago
Behdad Esfahbod
6d0e67dee0
[ot-font] Only use vmtx side-bearing if table exists
...
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/537
3 years ago
Behdad Esfahbod
f41945e313
[cmap] In collect_unicodes() of format 12/13, limit to max Unicode
...
Fixes fuzzer timeout:
https://oss-fuzz.com/testcase-detail/5062368881672192
3 years ago
Behdad Esfahbod
03085132ba
[buffer] Fix out-buffer under memory-alloc failure
...
This was broken in July refactoring of the buffer, and exposed to
ReverseChainSingleSubstFormat1 in 3807061d63
Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38800
https://bugs.chromium.org/p/chromium/issues/detail?id=1303552
3 years ago
Khaled Hosny
116cc69236
[set] Fix documentation
3 years ago
David Corbett
98b4852434
[indic] Test clearing syllables earlier
3 years ago
Behdad Esfahbod
90f09b1e87
[indic] Clear syllables before presentation features
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3488
3 years ago
Behdad Esfahbod
4289684cdb
[set] Fix-up previous commits
3 years ago
Andy John
1176620ba4
Move fn, fix doc.
3 years ago
Andy John
7d802994be
Remove null checks.
3 years ago
Andy John
ef588ea97b
Add option to insert a sorted arrays of values to sets.
3 years ago
Andy John
7a1e79c3ba
Fix typo.
3 years ago
Andy John
4ee00f943f
Use bit shifting instead of multiplying and dividing.
3 years ago
Andy John
3125f5ae33
Add log base 2 versions of constants.
3 years ago
Behdad Esfahbod
1ffe637a0e
[coretext] Remove dead code
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3484
3 years ago
TheBluuDot
7bdc20ec81
restores unintended addition in 43be5ba
...
restores two lines in restore in _hb_allocate_lig_id function that were unintentionally deleted in 43be5ba
3 years ago
Qunxin Liu
7cb002cb58
[subset] bug fix in prune_langsys
...
we should not cache visited langsys cause 2 different Record<Langsys>
could have different Tag while pointing to the same Langsys, a langsys
is redundant in Record<Langsys> A does not mean it's redundant in Record
B. Same thing for visited_script.
Also adding the number of features in the LangSys's feature list to the
visited langsys count so it's more accurate.
Plus some improvement in langsys compare()
3 years ago
Behdad Esfahbod
cad2fe8e63
[baseline] Fix HB_NO_METRICS build
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3482
3 years ago
Behdad Esfahbod
a8a89b80b4
[layout] Whitespace
3 years ago
Behdad Esfahbod
21f5ef56f5
[metrics] Simplify x-height fallback
3 years ago
Behdad Esfahbod
6bf8f0a38f
[baseline] Use ot-metrics fallback API
3 years ago
Dominik Röttsches
965cf1d665
Make load_num_glyphs_from_loca conditional on HB_NO_BORING_EXPANSION
...
Fixes build errors complaining about this function being unused.
3 years ago