diff options
author | Herb Derby <herb@google.com> | 2018-05-01 11:57:56 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-01 21:12:15 +0000 |
commit | c86c5c0144b85d0bc8ec791f9609ee2d4e7d835a (patch) | |
tree | dc0e00ea79487ce08f90fca2b4408b525271b82c /src/core/SkGlyph.h | |
parent | 0f91bb874dc3201dbc3cce3b946f66e3e484c6fc (diff) |
Remove devKerning
Dev kerning is not supported by any scalers. This is
mostly removed. The remaining fields fRsbDelta and
fLsbDelta are kept to keep Android compiling.
Change-Id: If1a9ee9bb599d4e1bdf4b3751ac0c65246350809
Reviewed-on: https://skia-review.googlesource.com/124921
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkGlyph.h')
-rw-r--r-- | src/core/SkGlyph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h index 211039e520..87cd852bd8 100644 --- a/src/core/SkGlyph.h +++ b/src/core/SkGlyph.h @@ -131,7 +131,6 @@ struct SkPackedUnicharID : public SkPackedID { } }; -SK_BEGIN_REQUIRE_DENSE class SkGlyph { // Support horizontal and vertical skipping strike-through / underlines. // The caller walks the linked list looking for a match. For a horizontal underline, @@ -159,7 +158,9 @@ public: int16_t fTop, fLeft; uint8_t fMaskFormat; +#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK int8_t fRsbDelta, fLsbDelta; // used by auto-kerning +#endif int8_t fForceBW; void initWithGlyphID(SkPackedGlyphID glyph_id); @@ -224,6 +225,5 @@ public: #endif SkPackedGlyphID fID; }; -SK_END_REQUIRE_DENSE #endif |