A passing remark that I made on the cairo mailing list plus some off-list
discussion with Hazen has lead to the resolution of the "missing" text
problem for svgcairo results.  It turns out the problem is in the SVG viewer
I was using (the ImageMagick "display" command), and not our cairo.c or the
SVG backend to libcairo.  All other viewers I have tried including iceweasel
(firefox) and konqueror on Debian testing have no problems displaying the
SVG results produced by svgcairo and similar results were found by one cairo
list guy who did even more extensive tests.  Furthermore, those SVG results
validate at http://validator.w3.org/#validate-by-upload.  Finally, it turns
out there is a maintenance issue with Debian's version of ImageMagick
(6.2.4) which is roughly two years out of date.  (I assume this ImageMagick
problem has propagated to Ubuntu as well.) When I downloaded, configured
(which found the librsvg library to render SVG), and built the latest
version (6.3.7) of ImageMagick it rendered text from our svgcairo results
with no issues.

Hazen tells me there is still a text rendering problem for firefox on the
Mac OS X platform when viewing our svgcairo results, but I suspect that may
be an older version of firefox than the Debian testing version which works.

In sum, I believe you should encounter no problems rendering our svgcairo
results if you use up-to-date SVG viewers. Accordingly, I have changed our
build system so it defaults to building svgcairo.

That's a nice (slightly early) Christmas present for PLplot users!

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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to