commit | b051f3fa8388d25c7023a7f48dfea415bde1c94c | [log] [tgz] |
---|---|---|
author | Garret Rieger <grieger@google.com> | Thu May 05 23:27:34 2022 +0000 |
committer | Behdad Esfahbod <behdad@behdad.org> | Mon May 09 12:25:05 2022 -0600 |
tree | 7e304bc93d89a022fe9a9166c590ba21c7135bf7 | |
parent | 2884eb97bf448448c8c06f51e1a60acbff33bcbf [diff] |
[subset] Fix cpal subsetting when there are partial palette overlaps. The existing code doesn't correctly handle the case where palettes partially overlap in the color record array. This changes the subsetting to only share entries in the color record array when palettes have the same first color index. Partially overlapping palettes will be converted to disjoint segments in the color record array. Updates one of the color tests to use multiple palettes. Also fixes fuzzer: https://oss-fuzz.com/testcase-detail/5568200165687296.
This is HarfBuzz, a text shaping library.
For bug reports, mailing list, and other information please visit:
For license information, see COPYING.
For build information, see BUILD.md.
For custom configurations, see CONFIG.md.
For test execution, see TESTING.md.
Documentation: https://harfbuzz.github.io