Can you tell me, are there any open source applications that make use of the SVG backend for Cairo? I'm trying to envision how it would be used, and it would be nice if I could see an example.<br>Please let me know. Thanks.
<br><br>Jake<br><br><div class="gmail_quote">On Dec 21, 2007 4:33 PM, Emmanuel Pacaud <<a href="mailto:emmanuel.pacaud@lapp.in2p3.fr">emmanuel.pacaud@lapp.in2p3.fr</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Le vendredi 21 décembre 2007 à 12:37 -0800, Alan W. Irwin a écrit :<br><div class="Ih2E3d">> Note, it appears that SVG backend (I hope I am using the correct terminology<br>> here) is not nearly as well supported as the PS, PDF, PNG, and X backends.
<br><br></div>The SVG backend is officialy supported and passes the test suite. Please<br>report any bug you may have.<br><div class="Ih2E3d"><br>> Our cairo devices are implemented almost entirely with common code with only
<br>> minimal variations for each backend (e.g., calls to such functions as<br>> cairo_svg_surface_create_for_stream in the svgcairo case). However, our<br>> svgcairo device does not work nearly as well as our pscairo, pdfcairo,
<br>> pngcairo, and xcairo devices. For svgcairo, all the plot lines and shapes<br>> are there in the resulting SVG file, but the text annotations are missing!<br>><br>> Therefore, is PLplot wasting its time using
<br>> cairo_svg_surface_create_for_stream to implement an SVG device as a simple<br>> add-on device to our other cairo-related devices, do we have to do more than<br>> a simple call to cairo_svg_surface_create_for_stream to get text to work, or
<br>> can we eventually expect text rendering to work automatically for this<br>> device like it does for the rest?<br><br></div>Text should work fine with the SVG backend, without any specific backend<br>call (it doesn't use the <text> element, but outputs the text as paths).
<br><br> Emmanuel.<br><br>--<br>Emmanuel PACAUD<br>Groupe Virgo<br>LAPP - Laboratoire d'Annecy-le-Vieux de physique des particules<br>9, chemin de Bellevue - BP 110<br>74941 Annecy-le-Vieux CEDEX<br>France<br>Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95
<br><br>_______________________________________________<br>cairo mailing list<br><a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br><a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">
http://lists.cairographics.org/mailman/listinfo/cairo</a></blockquote></div><br>