On Oct 11, 2008, at 8:14 PM, Alan W. Irwin wrote:

> There is nothing like preparing a bug report to make you examine your
> assumptions.  My assumptions turned out to be wrong about our -dev svg
> results, but that is fine because it means I am making some progress.
>
> I was in the process of preparing a simple test case for a librsvg bug
> report (which I fortunately didn't send), when I discovered that - 
> dev svg
> had at least two text position bugs.
>
> The first bug I discovered today was the code incorrectly wrote  
> indentation
> white space and line end characters (used for human-readability  
> formatting
> of the xml file but _not_ part of the text itself) between the  
> <text> and
> </text> tags. Some viewers (konqueror, firefox 2) incorrectly  
> ignored those
> characters, but others (display and probably firefox 3) correctly  
> rendered
> them.  So the result was standard's compliant but still far from  
> what was
> intended for the text to be displayed.

I'm glad to hear that you figured this out. Is this somewhere in the  
SVG standard? I was looking at: http://www.w3.org/TR/SVG11/ 
text.html#TextElement, Example text01, from which I concluded that  
whitespace and line end characters are ignored.
This example has whitespace and line end characters both before and  
after the text!

-Hazen


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to