https://issues.apache.org/bugzilla/show_bug.cgi?id=44531

           Summary: underline-position in font-face has wrong sign
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: GVT Text
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21625)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21625)
SVG font with underline and overline text example

Attribute underline-position of element <font-face> seems to get negatived (-).
Compared to attributes overline-position and strikethrough-position, this
appears as unexpected. Apparently none of the SVG test fonts use
underline-position and the default value looks fine. See
getLineMetrics(int,int) in SVGGVTFont.java for the assignment to ulOffset
without - in front of variable scale.

It might also be nice if stroke-width of underline would scale with font-size.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to