Index: src/ports/SkTypeface_win_dw.cpp |
diff --git a/src/ports/SkTypeface_win_dw.cpp b/src/ports/SkTypeface_win_dw.cpp |
index eb17201408290989e1de3f15498ac4b54e34793f..a5072b96ce9f320f9470cd3c46fbdc1e13d593ad 100644 |
--- a/src/ports/SkTypeface_win_dw.cpp |
+++ b/src/ports/SkTypeface_win_dw.cpp |
@@ -243,9 +243,7 @@ SkScalerContext* DWriteFontTypeface::onCreateScalerContext(const SkDescriptor* d |
} |
void DWriteFontTypeface::onFilterRec(SkScalerContext::Rec* rec) const { |
- if (rec->fFlags & SkScalerContext::kLCD_BGROrder_Flag || |
- rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) |
- { |
+ if (rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) { |
rec->fMaskFormat = SkMask::kA8_Format; |
} |
@@ -253,7 +251,6 @@ void DWriteFontTypeface::onFilterRec(SkScalerContext::Rec* rec) const { |
SkScalerContext::kDevKernText_Flag | |
SkScalerContext::kForceAutohinting_Flag | |
SkScalerContext::kEmbolden_Flag | |
- SkScalerContext::kLCD_BGROrder_Flag | |
SkScalerContext::kLCD_Vertical_Flag; |
rec->fFlags &= ~flagsWeDontSupport; |