Pick unsigned 16 bit type for SkFontArgument palette overrides
Helps us avoid clumsy code in SkFontDescripor checking for signedness,
and more closely matches the OpenType spec for the CPAL table.
Gated by #define SK_DISABLE_SKFONTARGS_CHANGED_TYPE to gate landing this
in Chromium.
Bug: b/317330945
Change-Id: I373a48d9422ad82f813cc705f428975db618c27f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/793196
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Dominik Röttsches <drott@google.com>
5 files changed