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

Unified Diff: third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp

Issue 2386333002: reflow comments in platform/fonts (Closed)
Patch Set: comments Created 4 years, 2 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 | « third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp
index 4f1e69cc32164b035f61f78bdebb851b10acf0ec..6031bf38b05555976f1377310ae0c2c59977bf90 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp
@@ -106,9 +106,10 @@ static int computePaintTextFlags(String fontFamilyName) {
textFlags = SkPaint::kAntiAlias_Flag | lcdFlag;
}
- // Many web-fonts are so poorly hinted that they are terrible to read when drawn in BW.
- // In these cases, we have decided to FORCE these fonts to be drawn with at least grayscale AA,
- // even when the System (getSystemTextFlags) tells us to draw only in BW.
+ // Many web-fonts are so poorly hinted that they are terrible to read when
+ // drawn in BW. In these cases, we have decided to FORCE these fonts to be
+ // drawn with at least grayscale AA, even when the System (getSystemTextFlags)
+ // tells us to draw only in BW.
if (isWebFont(fontFamilyName))
textFlags |= SkPaint::kAntiAlias_Flag;
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698