Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(988)

Unified Diff: src/ports/SkFontHost_win.cpp

Issue 294663016: Remove SK_IGNORE_UNDERLINE_POSITION_FIX now that it is no longer used. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkFontHost_FreeType.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkFontHost_win.cpp
===================================================================
--- src/ports/SkFontHost_win.cpp (revision 14845)
+++ src/ports/SkFontHost_win.cpp (working copy)
@@ -1056,13 +1056,12 @@
my->fXMin = SkIntToScalar(otm.otmrcFontBox.left);
my->fXMax = SkIntToScalar(otm.otmrcFontBox.right);
#endif
-#ifndef SK_IGNORE_UNDERLINE_POSITION_FIX
my->fUnderlineThickness = SkIntToScalar(otm.otmsUnderscoreSize);
my->fUnderlinePosition = -SkIntToScalar(otm.otmsUnderscorePosition);
my->fFlags |= SkPaint::FontMetrics::kUnderlineThinknessIsValid_Flag;
my->fFlags |= SkPaint::FontMetrics::kUnderlinePositionIsValid_Flag;
-#endif
+
my->fXHeight = SkIntToScalar(otm.otmsXHeight);
GLYPHMETRICS gm;
« no previous file with comments | « src/ports/SkFontHost_FreeType.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698