projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217daa7
)
Remove SK_IGNORE_DWRITE_RENDERING_FIX.
author
Ben Wagner
<bungeman@google.com>
Wed, 2 Jul 2014 20:04:09 +0000
(16:04 -0400)
committer
Ben Wagner
<bungeman@google.com>
Wed, 2 Jul 2014 20:04:09 +0000
(16:04 -0400)
This flag is no longer defined anywhere, so remove it's use.
src/ports/SkScalerContext_win_dw.cpp
patch
|
blob
|
history
diff --git
a/src/ports/SkScalerContext_win_dw.cpp
b/src/ports/SkScalerContext_win_dw.cpp
index 345cefd75847548fca3fa3e983703afe916437c3..b6c2895175639b063f8c947564ce596a61d291fc 100644
(file)
--- a/
src/ports/SkScalerContext_win_dw.cpp
+++ b/
src/ports/SkScalerContext_win_dw.cpp
@@
-242,9
+242,7
@@
SkScalerContext_DW::SkScalerContext_DW(DWriteFontTypeface* typeface,
// a bitmap strike if the range is gridfit only and contains a bitmap.
int bitmapPPEM = SkScalarTruncToInt(gdiTextSize);
PPEMRange range = { bitmapPPEM, bitmapPPEM };
-#ifndef SK_IGNORE_DWRITE_RENDERING_FIX
expand_range_if_gridfit_only(typeface, bitmapPPEM, &range);
-#endif
treatLikeBitmap = has_bitmap_strike(typeface, range);
axisAlignedBitmap = is_axis_aligned(fRec);