| commit | 8ef4257dc8d6b59b55d0169b66c8de135d5f199b | [log] [tgz] |
|---|---|---|
| author | Garret Rieger <grieger@google.com> | Wed Mar 31 15:00:46 2021 -0700 |
| committer | Behdad Esfahbod <behdad@behdad.org> | Wed Mar 31 19:03:30 2021 -0600 |
| tree | 1a509bf7dd5573452f105a838eb7f63d84804132 | |
| parent | 70110f6aaac541bc157eb5612b476d3b906b5d2a [diff] |
[sanitize] change max ops to track number of bytes processed. Counting bytes as the operations is likely to be a better proxy for how much work processing the table will cost vs. the current approach of counting the number of sub-objects. This should allow checks for max features, max scripts, etc. to be removed. I tested this change against the full collection of fonts at https://github.com/google/fonts and a max ops factor of 3 was sufficient to successfully sanitize all of them.
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