diff options
author | halcanary <halcanary@google.com> | 2016-07-25 07:18:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-25 07:18:12 -0700 |
commit | d0e95a524c20932e0f4e68bab43995188a281395 (patch) | |
tree | 7077702ee7d4e3d7deffcbe10f70ba4ff53fe50f /include/core/SkFont.h | |
parent | 1d35231e7b5cce8c4f54ea71a8e030be893363fb (diff) |
typedef uint16_t SkGlyphID
This goes well with our existing `typedef int32_t SkUnichar`.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2095263003
Review-Url: https://codereview.chromium.org/2095263003
Diffstat (limited to 'include/core/SkFont.h')
-rw-r--r-- | include/core/SkFont.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkFont.h b/include/core/SkFont.h index 6e8a71501f..e50909aaec 100644 --- a/include/core/SkFont.h +++ b/include/core/SkFont.h @@ -146,7 +146,7 @@ public: bool isDevKern() const { return SkToBool(fFlags & kDevKern_Flag); } int textToGlyphs(const void* text, size_t byteLength, SkTextEncoding, - uint16_t glyphs[], int maxGlyphCount) const; + SkGlyphID glyphs[], int maxGlyphCount) const; int countText(const void* text, size_t byteLength, SkTextEncoding encoding) { return this->textToGlyphs(text, byteLength, encoding, nullptr, 0); |