[cairo] Cairo and SVG
Jake B
otakuj462 at gmail.com
Fri Dec 21 14:47:27 PST 2007
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.
Please let me know. Thanks.
Jake
On Dec 21, 2007 4:33 PM, Emmanuel Pacaud <emmanuel.pacaud at lapp.in2p3.fr>
wrote:
> Hi,
>
> Le vendredi 21 décembre 2007 à 12:37 -0800, Alan W. Irwin a écrit :
> > Note, it appears that SVG backend (I hope I am using the correct
> terminology
> > here) is not nearly as well supported as the PS, PDF, PNG, and X
> backends.
>
> The SVG backend is officialy supported and passes the test suite. Please
> report any bug you may have.
>
> > Our cairo devices are implemented almost entirely with common code with
> only
> > minimal variations for each backend (e.g., calls to such functions as
> > cairo_svg_surface_create_for_stream in the svgcairo case). However, our
> > svgcairo device does not work nearly as well as our pscairo, pdfcairo,
> > pngcairo, and xcairo devices. For svgcairo, all the plot lines and
> shapes
> > are there in the resulting SVG file, but the text annotations are
> missing!
> >
> > Therefore, is PLplot wasting its time using
> > cairo_svg_surface_create_for_stream to implement an SVG device as a
> simple
> > add-on device to our other cairo-related devices, do we have to do more
> than
> > a simple call to cairo_svg_surface_create_for_stream to get text to
> work, or
> > can we eventually expect text rendering to work automatically for this
> > device like it does for the rest?
>
> Text should work fine with the SVG backend, without any specific backend
> call (it doesn't use the <text> element, but outputs the text as paths).
>
> Emmanuel.
>
> --
> Emmanuel PACAUD
> Groupe Virgo
> LAPP - Laboratoire d'Annecy-le-Vieux de physique des particules
> 9, chemin de Bellevue - BP 110
> 74941 Annecy-le-Vieux CEDEX
> France
> Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20071221/a6d5bfc9/attachment.html
More information about the cairo
mailing list