skia2/modules
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
..
canvaskit [canvaskit] Make font names programmatically accessible 2020-01-17 14:18:09 +00:00
particles Revert "Complete rewrite of the SkSL interpreter" 2020-01-21 16:07:08 +00:00
pathkit remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
skottie IWYU -- colorspace no longer includes matrix44 2020-01-21 21:37:32 +00:00
skparagraph Calculating drawing area for a line with shadows 2020-01-21 22:30:52 +00:00
skplaintexteditor tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
skresources use std::make_unique 2019-12-12 22:32:45 +00:00
sksg [skottie] Refactor property animators 2020-01-16 22:43:12 +00:00
skshaper Glyph 0xFFFF is a valid glyph. 2020-01-22 19:22:15 +00:00