Hi Joel,

[EMAIL PROTECTED] wrote on 01/04/2007 06:27:56 AM:

> Thus spake [EMAIL PROTECTED]:
> >    The only other value for xml:space is preserve which would probably
> > make his problem worse.
> 
> I looked up xml:space, and saw that the only values are 'default' and
> 'preserve'. But if the default *is* preserve, what's the point?

   Default collapses white space between non-whitespace chars but
keeps at least one.  Except at the beginning and end of text where
it eliminates all whitespace.

> This isn't your fault, but why didn't they also define an 'ignore' value
> in the standard?

   Because this is text and in text you almost never want to really
ignore all spaces.

> >    The rendering is I believe correct (or _very_ nearly so).
> 
> So, to summarize, the only way to get this to render as I want is to
> have the SVG be formated badly?

   There are alternate ways to format your SVG that won't
have this problem (For what it's worth HTML has the same problem):

  <text style="font-size:14px;text-anchor:end;fill:black;fill-opacity:1" 
    ><tspan x="100" y="15">*</tspan
    ><tspan x="100" y="30">1</tspan
    ><tspan x="100" y="45">1</tspan
 ></text> 

Reply via email to