D2D: Undo recent W/H calculations and revert back to 37fd105 calculations

This commit is contained in:
Brian Ferguson
2013-08-02 15:42:37 -06:00
parent bb53ddf71c
commit 1e82a1659f
3 changed files with 6 additions and 13 deletions

View File

@ -27,7 +27,7 @@ namespace Util {
// If |gdiEmulation| is true, the returns metrics have similar characteristics to those provided
// by GDI+.
DWRITE_TEXT_METRICS GetAdjustedDWriteTextLayoutMetrics(
IDWriteTextLayout* textLayout, bool gdiEmulation, bool containsNewLine);
IDWriteTextLayout* textLayout, bool gdiEmulation);
// Maps the GDI family name and italic/bold flags to the DirectWrite family name, weight, style,
// and stretch.