xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pyonpyon <thepyonp...@gmail.com>
Subject CSS property not recognized
Date Mon, 11 Jan 2010 11:49:59 GMT
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

Is there something I'm doing wrong ?

Thanks in advance !


View raw message