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

Unified Diff: Source/platform/fonts/win/FontPlatformDataWin.h

Issue 138273018: Use synthetic bold/italic terminology consistently (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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: Source/platform/fonts/win/FontPlatformDataWin.h
diff --git a/Source/platform/fonts/win/FontPlatformDataWin.h b/Source/platform/fonts/win/FontPlatformDataWin.h
index 7122877ccc31efda9c77fb89e95d7f73154b62d6..07560452c80f3dccc05edf6e70d6378f83246043 100644
--- a/Source/platform/fonts/win/FontPlatformDataWin.h
+++ b/Source/platform/fonts/win/FontPlatformDataWin.h
@@ -76,7 +76,7 @@ public:
FontPlatformData(float size, bool bold, bool oblique);
FontPlatformData(const FontPlatformData&);
FontPlatformData(const FontPlatformData&, float textSize);
- FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool fakeBold, bool fakeItalic, FontOrientation = Horizontal, bool useSubpixelPositioning = defaultUseSubpixelPositioning());
+ FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation = Horizontal, bool useSubpixelPositioning = defaultUseSubpixelPositioning());
void setupPaint(SkPaint*, GraphicsContext* = 0) const;
@@ -169,8 +169,8 @@ private:
#endif // !USE(HARFBUZZ)
float m_textSize; // Point size of the font in pixels.
FontOrientation m_orientation;
- bool m_fakeBold;
- bool m_fakeItalic;
+ bool m_syntheticBold;
+ bool m_syntheticItalic;
RefPtr<SkTypeface> m_typeface;
« no previous file with comments | « Source/platform/fonts/skia/FontPlatformDataSkia.cpp ('k') | Source/platform/fonts/win/FontPlatformDataWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698