Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index c491e8682260438a4021f94e5d7673fc946e4320..21bb933b35705df75673c6c2f8c75be136ef94cc 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -161,7 +161,7 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) { |
target.reset(fGrContext->textureProvider()->createTexture(desc, false, nullptr, 0)); |
} |
- uint32_t flags = fUseDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; |
+ uint32_t flags = fUseDFText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : 0; |
SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); |
SkAutoTUnref<SkGpuDevice> device( |
SkGpuDevice::Create(target->asRenderTarget(), &props, |