commit | e34f17d23699abfc672289f51319b37294b3c257 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Tue Jul 19 07:59:22 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jul 19 07:59:22 2016 -0700 |
tree | eef74fb1356491c4a23c31e32ead9a275a8fa09c | |
parent | b117ff194ff888ef9107a4797aad053b0d76be30 [diff] [blame] |
Make SkFont a bit more useable Split out of https://codereview.chromium.org/2163483002/ (Use SkFont in GrStencilAndCoverTextContext) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163633002 Review-Url: https://codereview.chromium.org/2163633002
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index c0f1f3e..caa1856 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h
@@ -1085,7 +1085,9 @@ uint32_t fBitfieldsUInt; }; - GlyphCacheProc getGlyphCacheProc(bool needFullMetrics) const; + static GlyphCacheProc GetGlyphCacheProc(TextEncoding encoding, + bool isDevKern, + bool needFullMetrics); SkScalar measure_text(SkGlyphCache*, const char* text, size_t length, int* count, SkRect* bounds) const;