From 8128d8c119382279918b90ad8d80ccb3aaebb8a0 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Thu, 19 Dec 2013 16:12:25 +0000 Subject: Move distance field font code into GrDistanceFieldTextContext. This avoids the SkDraw path and renders the distance field glyphs directly from GrDistanceFieldTextContext. It also disables LCD, subpixel and autohinting, and removes the supporting code when rendering DF fonts. R=reed@google.com, bsalomon@google.com, robertphillips@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/85653004 git-svn-id: http://skia.googlecode.com/svn/trunk@12770 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/device/xps/SkXPSDevice.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/device/xps/SkXPSDevice.cpp') diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp index e7f5a8c760..c407e2c0d7 100644 --- a/src/device/xps/SkXPSDevice.cpp +++ b/src/device/xps/SkXPSDevice.cpp @@ -2242,9 +2242,6 @@ static void text_draw_init(const SkPaint& paint, SkBitSet& glyphsUsed, SkDraw& myDraw, SkXPSDrawProcs& procs) { procs.fD1GProc = xps_draw_1_glyph; -#if SK_DISTANCEFIELD_FONTS - procs.fFlags = 0; -#endif size_t numGlyphGuess; switch (paint.getTextEncoding()) { case SkPaint::kUTF8_TextEncoding: -- cgit v1.2.3