SVG Font kerning can take an early out if the font has no kerning information
[WebKit-https.git] / Source / WebCore / svg / SVGFontElement.h
index 89f3b3306fb6af36f87dfb03185a869943ffb5a9..8e4274dd0cb3c3d58051b7e7cbeb09b77cfa9269 100644 (file)
@@ -81,6 +81,7 @@ public:
     Glyph missingGlyph();
 
     const SVGMissingGlyphElement* firstMissingGlyphElement() const;
+    bool horizontalKerningMapIsEmpty() const { return m_horizontalKerningMap.isEmpty(); }
 
 private:
     SVGFontElement(const QualifiedName&, Document&);