Behdad Esfahbod
a792e16e48
[ot-layout] Change max nesting level of lookups from 6 to 64
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
d35c73cd37
[buffer] Whitespace
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
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
David Corbett
49fb8f9072
[USE] Treat visible viramas like dependent vowels
3 years ago
Khaled Hosny
1f79ba9407
4.0.1
3 years ago
Qunxin Liu
a35757c6bc
[repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
3 years ago
Matthias Clasen
e7ab42b246
[layout] Fix handling of baseline variations
...
For BASE table format 1.1, the handling of design
space vs user space coordinates was inconsistent.
We were applying design -> user transformation
twice for the deltas, leading to wrong baseline
values.
Patch by Ebrahim Byagowi <ebrahim@gnu.org>
Fixes : #3476
3 years ago
David Corbett
e5707a440c
Update IANA Language Subtag Registry to 2022-03-02
3 years ago
David Corbett
13bb46cfd5
[USE] Remove obsolete overrides
3 years ago
David Corbett
c33468d48e
[USE] Treat all gc=Cn as independent clusters
3 years ago
David Corbett
e497a8f142
[USE] Remove obsolete symbol/punctuation overrides
3 years ago
David Corbett
854219e056
[USE] Simplify `not_ccs_default_ignorable`
3 years ago
David Corbett
6e059a46b7
[USE] Allow any non-numeric tail in symbol cluster
3 years ago
David Corbett
5b0a59812d
[USE] Restore the category WJ
3 years ago
Florian Pircher
05b3bdb0b3
[aat] Update OT to AAT mappings for hist and vrtr
3 years ago