Skip to content

Commit

Permalink
Merge pull request #3570 from SamBent/ClearTypeAntiAliasing
Browse files Browse the repository at this point in the history
ClearType anti-aliasing
  • Loading branch information
SamBent authored Oct 7, 2020
2 parents 7a0306a + daf9cec commit 911b3c9
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}
}
}
Expand Down

0 comments on commit 911b3c9

Please sign in to comment.