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

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

Issue 2427773002: Fixing superscript and subscript baseline for tiny fonts in SVG
Patch Set: Addressing 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
Index: third_party/WebKit/Source/platform/fonts/SimpleFontData.h
diff --git a/third_party/WebKit/Source/platform/fonts/SimpleFontData.h b/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
index ebdfc5cd55bb0fa03763ea41f2d80c6dca2baf69..ce694745a070ac6121ba3c2dc645aed03be79ccf 100644
--- a/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
+++ b/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
@@ -94,6 +94,7 @@ class PLATFORM_EXPORT SimpleFontData : public FontData {
PassRefPtr<SimpleFontData> verticalRightOrientationFontData() const;
PassRefPtr<SimpleFontData> uprightOrientationFontData() const;
+ PassRefPtr<SimpleFontData> subpixelAscentDescentFontData() const;
bool hasVerticalGlyphs() const { return m_hasVerticalGlyphs; }
bool isTextOrientationFallback() const { return m_isTextOrientationFallback; }

Powered by Google App Engine
This is Rietveld 408576698