Behdad Esfahbod
7518718671
[buffer] Add HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
...
https://github.com/harfbuzz/harfbuzz/discussions/5026#discussioncomment-12168668
2025-03-10 00:52:00 -06:00
Behdad Esfahbod
cdbd966e96
[buffer-verify] Fix a compiler warning
2024-08-18 10:42:52 -07:00
Bruce Mitchener
1bddeb974f
Use literal bools when possible rather than ints.
2024-02-16 18:22:09 +01:00
Behdad Esfahbod
c85ca75eff
[buffer-verify] Simplify a couple ifs
2023-06-08 15:58:38 -06:00
Behdad Esfahbod
e527c17e23
[buffer-verify] Don't consider shaping failure as error
2023-06-08 15:58:38 -06:00
Behdad Esfahbod
cb516075b6
[buffer-verify] Error handling
2023-06-08 15:58:38 -06:00
Behdad Esfahbod
ed023f66df
Enable -Wformat-signedness
...
And fix the codebase.
2023-01-12 17:04:24 -07:00
Behdad Esfahbod
404cb99d86
[buffer-diff] Fix check for glyph flag equality
...
I'm not sure if the old behavior was intentional, but it was checking
that the glyph flags were a subset of the reference buffer's glyph
flags. I don't see why that is useful. Fix that.
Then make the buffer-verify code ignore flag differences when verifying
buffers, since our unsafe-to-concat flag at least, is conservative and
not guaranteed to be produced the same in fragments. See:
https://github.com/harfbuzz/harfbuzz/issues/3888
2022-11-23 15:37:03 -07:00
Behdad Esfahbod
cb961eac5c
[configs] Fix builds with HB_NO_BUFFER_SERIALIZE but not HB_NO_BUFFER_VERIFY
...
https://github.com/harfbuzz/harfbuzz/commit/e986c12075a69300a5e114fe139ae5acd762ef1b#commitcomment-75339317
2022-06-05 00:45:29 -06:00
Behdad Esfahbod
0384f80e78
[buffer-verify] If shaping buffers failed during verification, pass the test
2022-06-01 04:50:15 -06:00
Behdad Esfahbod
45a2252607
[flags] Fix undefined-behavior
...
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/hb-buffer.hh:60:1 in
failure on clusterfuzz-testcase-minimized-hb-subset-get-codepoints-fuzzer-5736539338833920
2022-05-31 06:35:42 -06:00
Behdad Esfahbod
56f11ec938
[buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
2022-02-18 17:52:27 -06:00
Behdad Esfahbod
e986c12075
[verify] Show buffer input text when verification fails
2022-01-29 09:08:48 -07:00
Behdad Esfahbod
61823838f9
[buffer] Add HB_BUFFER_FLAG_VERIFY
...
Move buffer verification code inside the library, from util/.
Part of https://github.com/harfbuzz/harfbuzz/issues/3010
2022-01-28 13:53:44 -07:00