https://issues.apache.org/ooo/show_bug.cgi?id=122524

--- Comment #4 from Armin Le Grand <[email protected]> ---
This one is two-folded, too:
(a) The font-size is given as font-size="75%". The SVG1.1. spec says in
http://www.w3.org/TR/SVG/text.html 10.10 Font selection properties: 'If a
<length> is provided with one of the unit identifiers (e.g., 12pt or 10%), then
the SVG user agent converts the <length> into a corresponding value in the
current user coordinate system by applying the rules described in Units.'.

This is done, but obviously wrong in this case. It also says (one line below):
'Except for any additional information provided in this specification, the
normative definition of the property is in CSS2 ([CSS2], section 15.2.4).'.
This leads to
http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#propdef-font-size where
in 15.2.4 Font size: the 'font-size' and 'font-size-adjust' properties is
explained: 'A percentage value specifies an absolute font size relative to the
parent element's font size. Use of percentage values, or values in 'em's, leads
to more robust and cascadable style sheets. '.

Thus, font-size="75%" should be interpreted relative to the parent font size,
but this is not clearly stated in SVG1.1. Looks as if I have to change this.
This would count as defect.

(b) The attributes described in '10.9.2 Baseline alignment properties' are not
yet supported. These are ‘dominant-baseline’, ‘alignment-baseline’ and
‘baseline-shift’ (which is used here). This would count as Enhancement.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to