32b45b32b7
Assert that the hb_codepoint_t passed to skhb_glyph_extents is in range using SkTo, which is obviously correct (and consistently used elsewhere) instead of the incorrect '< 0xFFFF' since 0xFFFF is a valid glyph id. While doing so, rename the hb_codepoint_t parameters which are actually glyph ids to reflect that they are glyphs and not codepoints (HarfBuzz uses hb_codepoint_t for both). Change-Id: I0bf2b7f12183dfb8254856b12168b8bee867c430 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/265769 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
BUILD.gn | ||
skshaper.gni |