aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/glyph_pos.cpp
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2018-02-06 11:14:20 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-06 17:28:16 +0000
commit2fb7c8aef57e4b94d5215e618d8c3b4cccd35edf (patch)
treef9d56b011d402a858e3c69717605f6f78cb2693e /gm/glyph_pos.cpp
parente1ddce57ea78ed1ec1a7297cb9799b5a64aaa937 (diff)
Cleanup of large text rendering.
* Switch all path glyphs to be rendered as part of the fBigGlyphs (now fPathGlyphs) system * Use one flush command for both cached and throwaway blobs * Store and render path glyphs per run rather than one list for the entire blob (fixes a layering bug) * Fix bug with scaled fallback glyphs, where fallback glyphs were trying to use more than one descriptor Bug: skia:7562 Change-Id: Ic3d01887e2203a844102a04afe8674a16149b4bb Reviewed-on: https://skia-review.googlesource.com/102400 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'gm/glyph_pos.cpp')
-rw-r--r--gm/glyph_pos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp
index cfc318d4b4..ff2a432f8a 100644
--- a/gm/glyph_pos.cpp
+++ b/gm/glyph_pos.cpp
@@ -26,7 +26,7 @@ static void drawTestCase(SkCanvas* canvas,
static void draw_gm(SkCanvas* canvas,
SkScalar strokeWidth,
SkPaint::Style strokeStyle) {
- // There's a black pixel at 40, 40 for reference.
+ // There's a black pixel at 40, 40 for reference.
canvas->drawPoint(40, 40, SkPaint());
// Two reference images.