Thus spake [EMAIL PROTECTED]: > > Hi All, > > [EMAIL PROTECTED] wrote on 01/03/2007 04:51:26 PM: > > > I've seen this before. It's because of the whitespace in between your > > tags. > > Correct. > > > Try putting all your XML tags together and/or adding xml:space > > attributes. > > 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? This isn't your fault, but why didn't they also define an 'ignore' value in the standard? [snip] > The rendering is I believe correct (or _very_ nearly so). > The problem is caused by the spaces (select all the text to see > what I mean). The last tspan doesn't have trailing spaces > because of white space collapsing. The reason the 1 is shifted > but the eight isn't shifted much is due to the way text-align="end" > is handled, we alight the right edge of the glyph geometry with the > specified x coordinate. The eight's geometry is almost as wide as > glyphs advance so it moves only slightly relative to the upper 8, > the 1 is much narrower than the glyphs advance. So, to summarize, the only way to get this to render as I want is to have the SVG be formated badly? -- J. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
