| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 4af16109a4b6df1481c65ce98306277f732ce5ca..35099ff98519445a460291dd820f4e5828d5da61 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -190,7 +190,9 @@ void SkGpuDevice::initFromRenderTarget(GrContext* context,
|
| fContext = context;
|
| fContext->ref();
|
|
|
| - fMainTextContext = SkNEW_ARGS(GrDistanceFieldTextContext, (fContext, fLeakyProperties));
|
| + bool useDFFonts = !!(flags & kDFFonts_Flag);
|
| + fMainTextContext = SkNEW_ARGS(GrDistanceFieldTextContext, (fContext, fLeakyProperties,
|
| + useDFFonts));
|
| fFallbackTextContext = SkNEW_ARGS(GrBitmapTextContext, (fContext, fLeakyProperties));
|
|
|
| fRenderTarget = NULL;
|
|
|