Hi,

I think that text-align is not a valid SVG property.
The right property is text-anchor, witch is yet in your CSS style.

FYI, text-anchor can get one of the following values: start | middle | end | inherit <http://www.w3.org/TR/REC-CSS2/cascade.html#value-def-inherit>


HTH,
Pascal

pyonpyon a écrit :
Hi !

First, I'm sorry if I'm doing this wrong I'm not used to this kind of support (and also if my English is not good :p).

I want to generate an image from an SVG source but I have this error :

    The attribute "style" represents an invalid CSS declaration
    
("font-size:48.71988678px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;font-family:JaneAusten;-inkscape-font-specification:JaneAusten").

    Original message:

    The "center" identifier is not a valid value for the "text-align"
    property.


I have a success message after but the render is not as expected (a part of the image is white instead of black).
If I replace all the "text-align:center" by "text-align:middle", it works.

The SVG image is created by Inkscape (under Mac OS), with a "SVG Simple" format (I think this is the french version, but I suppose it is the same in English).

Is there something I'm doing wrong ?

Thanks in advance !

Aline





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to