[Webkit-unassigned] [Bug 17541] SVG font support gets wrong metrics by querying 'font' instead of 'font-face' element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 19 17:16:43 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=17541


Nikolas Zimmermann <zimmermann at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Nikolas Zimmermann <zimmermann at kde.org>  2012-05-19 17:15:47 PST ---
int SVGFontFaceElement::ascent() const
{
    // Spec: Same syntax and semantics as the 'ascent' descriptor within an @font-face rule. The maximum
    // unaccented height of the font within the font coordinate system. If the attribute is not specified,
    // the effect is as if the attribute were set to the difference between the units-per-em value and the
    // vert-origin-y value for the corresponding font.
    const AtomicString& ascentValue = fastGetAttribute(ascentAttr);
    if (!ascentValue.isEmpty())
        return static_cast<int>(ceilf(ascentValue.toFloat()));

..

This is long resolved in trunk, this bug was forgotten.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list