diff options
author | Herb Derby <herb@google.com> | 2018-07-10 14:41:17 -0400 |
---|---|---|
committer | Herb Derby <herb@google.com> | 2018-07-10 20:03:09 +0000 |
commit | 3c9bfec0d576234345613dd309edb7c0e48d533f (patch) | |
tree | f3f8d1a77089b9bedbe5e707991d5bd3ece00f9f /src/core/SkGlyphRun.h | |
parent | 4b15dc202ff18c81977c85200d48df341938294f (diff) |
Add field to directly pass glyphs when using glyph encoding
Change-Id: Iad7c9d7a801c961d2c5965012af16659d55a371c
Reviewed-on: https://skia-review.googlesource.com/140340
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkGlyphRun.h')
-rw-r--r-- | src/core/SkGlyphRun.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkGlyphRun.h b/src/core/SkGlyphRun.h index d3f8c07cab..7788376c70 100644 --- a/src/core/SkGlyphRun.h +++ b/src/core/SkGlyphRun.h @@ -141,6 +141,7 @@ private: std::vector<uint16_t> fDenseIndex; std::vector<SkPoint> fPositions; std::vector<SkGlyphID> fUniqueGlyphIDs; + SkGlyphID* fGlyphIDs{nullptr}; // Used as a temporary for preparing using utfN text. This implies that only one run of // glyph ids will ever be needed because blobs are already glyph based. |