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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontPlatformData.h

Issue 2737533002: Replace subpixel font size heuristics with using OpenType gasp table (Closed)
Patch Set: No subpixel without smoothing, not even for layout tests Created 3 years, 9 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
Index: third_party/WebKit/Source/platform/fonts/FontPlatformData.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.h b/third_party/WebKit/Source/platform/fonts/FontPlatformData.h
index e2725206952af3f7bd2e9d4dd464247d1e30aa4f..99817106b3cb03b787d136299ffed63675c20b88 100644
--- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.h
+++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.h
@@ -140,12 +140,6 @@ class PLATFORM_EXPORT FontPlatformData {
const FontPlatformData& operator=(const FontPlatformData&);
bool isHashTableDeletedValue() const { return m_isHashTableDeletedValue; }
-#if OS(WIN)
- void setMinSizeForAntiAlias(unsigned size) { m_minSizeForAntiAlias = size; }
- unsigned minSizeForAntiAlias() const { return m_minSizeForAntiAlias; }
- void setMinSizeForSubpixel(float size) { m_minSizeForSubpixel = size; }
- float minSizeForSubpixel() const { return m_minSizeForSubpixel; }
-#endif
bool fontContainsCharacter(UChar32 character);
PassRefPtr<OpenTypeVerticalData> verticalData() const;
@@ -187,8 +181,6 @@ class PLATFORM_EXPORT FontPlatformData {
bool m_isHashTableDeletedValue;
#if OS(WIN)
int m_paintTextFlags;
- unsigned m_minSizeForAntiAlias;
- float m_minSizeForSubpixel;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698