skia2/modules/skshaper
Ben Wagner 32b45b32b7 Glyph 0xFFFF is a valid glyph.
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>
2020-01-22 19:22:15 +00:00
..
include Add feature support to shaper. 2019-12-06 14:42:31 +00:00
src Glyph 0xFFFF is a valid glyph. 2020-01-22 19:22:15 +00:00
BUILD.gn Fix windows DLL builds with shaper included 2019-11-19 14:50:12 +00:00
skshaper.gni Make SkShaper an interface. 2019-02-19 22:06:47 +00:00