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

Unified Diff: Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h

Issue 181443002: Use glyph-ids for lookups of SVG font kerning-pairs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Vector<...>::append -> Vector<...>::appendVector. Created 6 years, 10 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 | « no previous file | Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h b/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h
index 5cc8bec553387d68955d10ab1a8fae465352c6c7..3db58467652c9898bbabe8b118af1e8526cd1a8d 100644
--- a/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h
@@ -34,7 +34,7 @@ class SVGTextLayoutEngineSpacing {
public:
SVGTextLayoutEngineSpacing(const Font&);
- float calculateSVGKerning(bool isVerticalText, const SVGTextMetrics::Glyph& currentGlyph);
+ float calculateSVGKerning(bool isVerticalText, Glyph currentGlyph);
float calculateCSSKerningAndSpacing(const SVGRenderStyle*, SVGElement* lengthContext, UChar currentCharacter);
private:
@@ -42,7 +42,7 @@ private:
UChar m_lastCharacter;
#if ENABLE(SVG_FONTS)
- SVGTextMetrics::Glyph m_lastGlyph;
+ Glyph m_lastGlyph;
#endif
};
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698