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

Unified Diff: Source/platform/fonts/FontDescription.h

Issue 1206883002: Fix default text orientation that do not conform Unicode Technical Report #50 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/platform/fonts/Font.cpp ('k') | Source/platform/fonts/FontOrientation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontDescription.h
diff --git a/Source/platform/fonts/FontDescription.h b/Source/platform/fonts/FontDescription.h
index 0836b926346b2ff6737316a994155ead8c5e8826..fbc2bc7078c6099e39204245e2f34683ccc6126f 100644
--- a/Source/platform/fonts/FontDescription.h
+++ b/Source/platform/fonts/FontDescription.h
@@ -173,6 +173,7 @@ public:
FontOrientation orientation() const { return static_cast<FontOrientation>(m_orientation); }
bool isVerticalAnyUpright() const { return blink::isVerticalAnyUpright(orientation()); }
bool isVerticalNonCJKUpright() const { return blink::isVerticalNonCJKUpright(orientation()); }
+ bool isVerticalUpright(UChar32 character) const { return blink::isVerticalUpright(orientation(), character); }
bool isVerticalBaseline() const { return blink::isVerticalBaseline(orientation()); }
FontWidthVariant widthVariant() const { return static_cast<FontWidthVariant>(m_widthVariant); }
FontFeatureSettings* featureSettings() const { return m_featureSettings.get(); }
« no previous file with comments | « Source/platform/fonts/Font.cpp ('k') | Source/platform/fonts/FontOrientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698