float RenderCombineText::width(unsigned from, unsigned length, const FontCascade& font, float xPosition, HashSet<const Font*>* fallbackFonts, GlyphOverflow* glyphOverflow) const { if (m_isCombined) return font.size(); return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow); }
static inline float thicknessForDecoration(TextDecoration, const FontCascade& font) { // FIXME: For SVG Fonts we need to use the attributes defined in the <font-face> if specified. // Compatible with Batik/Opera return font.size() / 20.0f; }