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

           Summary: Generated style does not include units for font size
           Product: Batik
           Version: 1.8
          Platform: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVGGraphics2D
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I generated some an SVG document using the SVGGraphics2D Java class. I first
displayed the document in Safari which showed everything as expected, with the
text in the right size. Trying the same in Firefox 3.6 and Opera 10.63 on MacOS
X resulted in the text being the wrong size. 

Looking at the source of the generated document I noticed that the font-size
has no unit:

<g style="font-family:&apos;Arial&apos;; font-size:10;">

Changing the style by hand to include the unit resolves the font size issue in
both Firefox and Opera:

<g style="font-family:&apos;Arial&apos;; font-size:10px;">

-- 
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