Behdad Esfahbod
c78e4784fb
[dispatch] Minor
6 years ago
Behdad Esfahbod
fb05908213
Revert ugly fixes
...
Now that we have 6daf45e0, revert cryptic hacks...
This reverts commit abd81ed4f5
.
This reverts commit 9c6921c08c
.
This reverts commit d39760cabf
.
This reverts commit fedd8e6c17
.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1374
6 years ago
Behdad Esfahbod
9c6921c08c
More...
...
hb-ot-layout-gsubgpos.hh:1707: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
...
6 years ago
Behdad Esfahbod
574d888c8a
[aat] Ignore GSUB table of Muthu Foundry if they have morx table
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1410
6 years ago
Behdad Esfahbod
aa06574823
Minor
6 years ago
Ebrahim Byagowi
11aa0468ac
[subset] minor, adjust spaces
6 years ago
Behdad Esfahbod
da6aa3b033
Add hb_blob_ptr_t.destroy()
6 years ago
Behdad Esfahbod
5d0078a48b
Add hb_blob_ptr_t
...
Use in a couple of places. Push to bots to see how many unhappy before
I convert the rest.
6 years ago
Behdad Esfahbod
33b006cc51
[ot-layout] Simplify some access
6 years ago
Behdad Esfahbod
0b0b38ec1e
Fix null accelerator's
...
Fixes all except for cmap. To be done separately.
Part of https://github.com/harfbuzz/harfbuzz/issues/1146
6 years ago
Behdad Esfahbod
0382b7184a
Use as_array in more places
6 years ago
Ebrahim Byagowi
f7a08cd41d
Fix extra semicolon issues and test that on CI ( #1330 )
6 years ago
Behdad Esfahbod
ca5e5a4979
Port Coverage::Iter off hb_auto_t<>
6 years ago
Behdad Esfahbod
3a4e5dd425
Remove a few unnecessary hb_auto_t<>'s
...
See a85641446c30247c4e948263f0f8c1147ed4efb9
6 years ago
Bruce Mitchener
5a24ea15e0
Make more 'coords' params const.
6 years ago
Bruce Mitchener
4594730f64
Remove redundant return at end of void-returning function.
6 years ago
Bruce Mitchener
257d0e5aa3
Fix typos.
6 years ago
Ebrahim Byagowi
63109432cf
Cosmetic and minor changes
6 years ago
Behdad Esfahbod
b3390990f5
Add per-subtable set-digests
...
This speeds up Roboto shaping by ~10%. I was hoping for more.
Still, good defense against lookups with many subtables.
6 years ago
Behdad Esfahbod
e78549edfb
Move apply down into subtables accel
6 years ago
Behdad Esfahbod
78c09bf213
Move subtable array into lookup accel
6 years ago
Behdad Esfahbod
97e5913d5a
Move more code
6 years ago
Behdad Esfahbod
c8f2d9334c
Move code
...
In preparation to move add per-subtable set digests...
6 years ago
Behdad Esfahbod
9efddb9de8
Treat a base+mark... ligature as base, not ligature
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/746
6 years ago
Behdad Esfahbod
3cca978723
Move code around
6 years ago
Behdad Esfahbod
d748dc7664
More iter inits
6 years ago
Behdad Esfahbod
3583fb03b1
Simplify ZWJ-skipping a bit
...
Towards disabling ZWJ-skipping in certain GPOS contexts.
Part of https://github.com/flutter/flutter/issues/16886
6 years ago
Behdad Esfahbod
9516cbd3df
Reinit skippy iters when auto_zwj / auto_zwnj change
...
Ouch. How did we not hit this bug before...
6 years ago
Behdad Esfahbod
effc7ced72
Rename HeadlessArrayOf::len to lenP1
...
So it doesn't accidentally match our templates, etc.
6 years ago
Behdad Esfahbod
cfdea88475
[random] Switch to 32bit RNG
6 years ago
Behdad Esfahbod
08260c708a
[random] Shuffle
6 years ago
Behdad Esfahbod
71c9f84e7c
Make --features rand=1 available to the user
...
Use rand=255 to mean "randomize".
Part of https://github.com/harfbuzz/harfbuzz/pull/803
6 years ago
Behdad Esfahbod
80de4bcd26
Minor clean up of 'rand' patchset
6 years ago
David Corbett
b545e27d88
Don't seed the RNG from the contents of the buffer
6 years ago
David Corbett
c2a75e07e5
Implement 'rand'
6 years ago
Behdad Esfahbod
9507b05a7a
Simplify sanitize->check_array()
...
Fix a bug in CBDT sanitize, and redundant check in avar.
6 years ago
Behdad Esfahbod
bc485a9812
Port some VAR arrays to UnsizedArrayOf<>
...
Fix avar sanitize().
6 years ago
Behdad Esfahbod
5dfd6e0762
Fix sanitize or Context Rule
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1110
6 years ago
Behdad Esfahbod
339d3603b9
[subset] Wire up subset() call down to subtables
6 years ago
Behdad Esfahbod
9c3747c5e5
[subset] More
6 years ago
Behdad Esfahbod
6d618522d6
Templatize GSUBGPOS::sanitize()
6 years ago
Behdad Esfahbod
49c44b58f6
[subset] Fix serialize_subset() calls
...
Ouch.
6 years ago
Behdad Esfahbod
7c9cfa2b40
Add intersects() method to GSUB/GPOS lookups
6 years ago
Behdad Esfahbod
61ce62e554
[subset] Minor
...
Remove Lookup::subset().
6 years ago
Behdad Esfahbod
bfa72a9a72
[subset] Towards GSUB/GPOS subsetting
...
Add subset() call for GSUBGPOS struct and its dependencies.
Not hooked up anywhere.
6 years ago
Behdad Esfahbod
453e0c60b1
Add template keyword
...
I swear I have no idea why this is needed, but it is...
6 years ago
Behdad Esfahbod
b929100f87
[ot-face] Unify GSUB/GPOS accelerators in the table accelerator framework
6 years ago
Behdad Esfahbod
963413fc54
WIP
6 years ago
Behdad Esfahbod
1c48a7ef06
[ot-font] Cache tables on face, not font
6 years ago
Behdad Esfahbod
c77ae40852
Rename hb-*private.hh to hb-*.hh
...
Sorry for the noise, downstream custom builders. Please adjust.
6 years ago