未验证 提交 911b3c99 编写于 作者: S Sam Bent 提交者: GitHub

Merge pull request #3570 from SamBent/ClearTypeAntiAliasing

ClearType anti-aliasing
......@@ -1029,14 +1029,6 @@ CGlyphRunResource::GetDWriteRenderingMode(__in IDWriteFontFace *pIDWriteFontFace
*pDWriteRenderingMode = DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL;
}
}
else
{
// This assert is here for an equivalence check with .NET Framework
// when allowing DWrite to choose our rendering mode directly.
Assert((textRenderingMode == MilTextRenderingMode::Auto)
|| ((textRenderingMode == MilTextRenderingMode::Aliased)
&& !IsDisplayMeasured()));
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册