Index: Source/platform/fonts/opentype/OpenTypeVerticalData.h |
diff --git a/Source/platform/fonts/opentype/OpenTypeVerticalData.h b/Source/platform/fonts/opentype/OpenTypeVerticalData.h |
index 65b8307e95ac476bb8d416e60f9de81c4fcc1d79..6c08c7f15fad281d6b27e71c94264dcc5c6df92b 100644 |
--- a/Source/platform/fonts/opentype/OpenTypeVerticalData.h |
+++ b/Source/platform/fonts/opentype/OpenTypeVerticalData.h |
@@ -35,6 +35,7 @@ |
namespace blink { |
class FontPlatformData; |
+class GlyphPage; |
class SimpleFontData; |
class PLATFORM_EXPORT OpenTypeVerticalData : public RefCounted<OpenTypeVerticalData> { |
@@ -52,12 +53,14 @@ public: |
void setInFontCache(bool inFontCache) { m_inFontCache = inFontCache; } |
void getVerticalTranslationsForGlyphs(const SimpleFontData*, const Glyph*, size_t, float* outXYArray) const; |
+ void substituteWithVerticalGlyphs(const SimpleFontData*, GlyphPage*, unsigned offset, unsigned length) const; |
private: |
explicit OpenTypeVerticalData(const FontPlatformData&); |
void loadMetrics(const FontPlatformData&); |
+ void loadVerticalGlyphSubstitutions(const FontPlatformData&); |
bool hasVORG() const { return !m_vertOriginY.isEmpty(); } |
HashMap<Glyph, Glyph> m_verticalGlyphMap; |