On 2008-10-12 10:26-0700 Alan W. Irwin wrote: > I agree the w3c example you mention implies extraneous whitespace and line > endings will be ignored within text elements for SVG [...]
Hi Hazen: I have found a good reference on this question. See http://www.w3.org/TR/SVG11/text.html and look for "xml:space". svg.c specifies xml:space "preserve" which is the reason indentation and line endings made a difference with the old code. I think we still want this option (since the user may want some legitimate extra whitespace in his plot labels) so I think the present code (which preserves user white space but makes sure svg.c doesn't add any) is exactly what we want. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- 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