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

Unified Diff: skia/include/SkPaint.h

Issue 12656: Linux: match average char width with Windows (Closed)
Patch Set: Created 12 years, 1 month 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: skia/include/SkPaint.h
diff --git a/skia/include/SkPaint.h b/skia/include/SkPaint.h
index 06009cb9e52dc78be54008a3b9f6b2a2894a5080..921245b410f06705237faa5bed0ac835b9244260 100644
--- a/skia/include/SkPaint.h
+++ b/skia/include/SkPaint.h
@@ -587,6 +587,7 @@ public:
SkScalar fBottom; //!< The greatest distance below the baseline for any glyph (will be >= 0)
SkScalar fLeading; //!< The recommended distance to add between lines of text (will be >= 0)
SkScalar fHeight; //!< the vertical distance between two consecutive baselines (>= 0)
+ SkScalar fAvgCharWidth; //!< the average charactor width (>= 0)
// VDMX values are exact ascent and descent values for scalable fonts at
// a certain pixel size.
« no previous file with comments | « no previous file | skia/ports/SkFontHost_FreeType.cpp » ('j') | webkit/port/platform/graphics/chromium/FontCacheLinux.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698