Behdad Esfahbod
224d20e4e1
[docs] Minor
7 years ago
Behdad Esfahbod
4387b059a0
[test] Add --verify to hb-shape
...
Disabled for now. Will enable and fix failures after next release.
7 years ago
Behdad Esfahbod
b2dd0c1c32
Add hb_glyph_info_get_glyph_flags()
...
New API.
7 years ago
Behdad Esfahbod
3e8f4f1452
Rename HB_BUFFER_DIFF_FLAG_MASK_MISMATCH to HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
7 years ago
Behdad Esfahbod
a9e52a1af4
[util] Prefix trace lines with "trace:", and error lines with "error:"
7 years ago
Behdad Esfahbod
7ea10c35a3
[util] Respect eot/bot in safe-to-break test; hook up hb_buffer_diff()
7 years ago
Behdad Esfahbod
8820ba29df
Fix warning about "may be used uninitialized"
7 years ago
Emil A Eklund (eae)
91770e1c56
Fix signed/unsigned warning ( #522 )
...
Change hb_buffer_diff to explicitly cast result of abs to unsigned when
comparing with position_fuzz to avoid unsafe signed/unsigned comparions
warnings on windows.
7 years ago
Behdad Esfahbod
587f15ece3
Minor
7 years ago
Behdad Esfahbod
a88e2a73f3
[util] Fix leaks
7 years ago
Behdad Esfahbod
338e61ad1b
Fix typo
7 years ago
Jonathan Kew
331d66c7fe
Add function to compare two buffers
...
Based on patch from Jonathan Kew.
Needs more cleaning up and documentation.
New API:
hb_buffer_diff_flags_t
hb_buffer_diff()
7 years ago
Behdad Esfahbod
219af509ef
[graphite2] Fix warning
7 years ago
Behdad Esfahbod
239119a631
[unsafe-to-break] Mark all positions as unsafe in alternative shapers
7 years ago
Behdad Esfahbod
05fabbd03e
[unsafe-to-break] Towards verifying unsafe-to-break in --verify
...
We break and shape fragments and reconstruct shape result from them.
Remains to compare to original buffer. Going to add some buffer
comparison API and use here, instead of open-coding.
7 years ago
Behdad Esfahbod
6ce25f57c6
Fix hb_buffer_append()
...
Ouch!
7 years ago
Behdad Esfahbod
1c17c2bde5
[unsafe-to-break] Copy flag to all glyphs in a cluster
...
Makes consumption easier.
7 years ago
Behdad Esfahbod
ec104e5912
[unsafe-to-break] Mark unsafe is cluster merging is disabled
...
We were relying on cluster merges not requiring unsafe flagging because
they get merged. If cluster level requests no merging, then we flag
unsafe when merge would have happened.
7 years ago
Behdad Esfahbod
39a9749430
New API: hb_buffer_append()
7 years ago
Behdad Esfahbod
d2052278f2
[util] Add --verify to hb-shape / hb-view that verifies shape results
...
Right now it checks for monotone cluster values. Other checks to be added.
7 years ago
Behdad Esfahbod
14a639ea59
[unsafe-to-break] Fix Use-of-uninitialized-value in unsafe_to_break_set_mask
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3011
7 years ago
Behdad Esfahbod
e43aad5552
[unsafe-to-break] Flag in Thai PUA shaping
7 years ago
Behdad Esfahbod
eae009602b
[unsafe-to-break] Flag in Hangul shaper
7 years ago
Behdad Esfahbod
b65aa1cd47
[unsafe-to-break] Flag during mark attachment
7 years ago
Behdad Esfahbod
c4712f8e37
Fix test
7 years ago
Behdad Esfahbod
882ebdadd6
[unsafe-to-break] Flag during cursive positioning
7 years ago
Behdad Esfahbod
2d158ca376
[unsafe-to-break] Flag during kerning
7 years ago
Behdad Esfahbod
a7c4972cce
[unsafe-to-break] Flag during fallback positioning
7 years ago
Behdad Esfahbod
e2a2b5b229
[unsafe-to-break] Be careful with flag propagation when merging clusters
7 years ago
Behdad Esfahbod
f2868c2008
Set mask to 0, instead of 1, by default
...
This shouldn't matter.
7 years ago
Behdad Esfahbod
9e005c5d86
[unsafe-to-break] Mark Indic-like clusters as unsafe-to-break
7 years ago
Behdad Esfahbod
5287ccc935
[unsafe-to-break] Allocate public bits from 0
7 years ago
Behdad Esfahbod
91ce0c45d6
[safe-to-break] Fix logic when there is no out-buffer
7 years ago
Behdad Esfahbod
a043c99f77
[unsafe-to-break] Simplify logic
...
Always use the algorithm for non-monotone case. It's more robust.
7 years ago
Behdad Esfahbod
40bd7e9a1c
[unsafe-to-break] Add UNSAFE_TO_BREAK flag
...
Not all shapers code is updated to set this properly.
GSUB and Arabic shaper are updated.
GPOS and other shapers are NOT.
Fixes https://github.com/behdad/harfbuzz/issues/224
7 years ago
Behdad Esfahbod
3e44748ebe
[util] Fix two other Coverity warnings
7 years ago
Behdad Esfahbod
356f93b64b
[util] Fix warning
7 years ago
Behdad Esfahbod
ac8c4e56d8
[ft] Fix theoretical leak
7 years ago
Behdad Esfahbod
5a33057576
Treat HAMZA ABOVE similar to SHADD for sorting purposes
...
Part of https://github.com/behdad/harfbuzz/issues/509
7 years ago
Behdad Esfahbod
68af14d5cc
Protect against div-by-zero in CBDT extent code
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1452#c5
CC https://github.com/behdad/harfbuzz/issues/139
7 years ago
Behdad Esfahbod
3b54d0337e
Add tests for 'avar' fix 5dc30451b8
7 years ago
Behdad Esfahbod
7917792f01
1.4.8
7 years ago
Behdad Esfahbod
5dc30451b8
Two fixes to avar mapping
...
1. Handle segment with two entries correctly,
2. Fix rounding math. Ouch!
Fixes https://github.com/behdad/harfbuzz/issues/521
7 years ago
Behdad Esfahbod
dc2c418e39
[check-defs/symbols.sh] Drop empty-symbol lines
...
Fixes https://github.com/behdad/harfbuzz/issues/510
7 years ago
Behdad Esfahbod
6f38845d9c
[hb-shape] Rename --show-messages to --trace
...
https://github.com/behdad/harfbuzz/issues/506
7 years ago
Behdad Esfahbod
e60350551a
[hb-shape] Improve shaping-debug output
...
Before, that was printed using --debug (and in both hb-shape and hb-view).
Changed it, now hb-shape has a new command-line argument called --show-messages.
When invoked, it also respects other output formatting options. The messages
are better formatted and printed to te same place that hb-shape output is
directed to. Previously they were written to stderr.
Fixes https://github.com/behdad/harfbuzz/issues/506
7 years ago
Ebrahim Byagowi
65f64d1400
Unbreak arm-none-eabi build again ( #514 )
7 years ago
Behdad Esfahbod
fc15e60ead
1.4.7
7 years ago
Behdad Esfahbod
c1432bce3c
[arabic] Adjust feature order again
...
Fixes https://github.com/behdad/harfbuzz/issues/505
7 years ago
Cosimo Lupo
9813be3d12
[coretext] Allow to disable kern ( #508 )
...
* Minor
* [coretext] Fix leak
* [coretext] Do not reset num_features
* [coretext] allow to disable kern; re-enabling doesn't seem to be working
7 years ago