[cairo] Render SVG to a framebuffer

Vladimir Vukicevic vladimir at pobox.com
Fri Aug 10 16:27:16 PDT 2007

Hi Hans,

Cairo should work well for you as a rasterizer; however, you'll need 
something to actually interpret the SVG that you generate.  I believe 
the current svg processor of choise is rsvg/librsvg?  (Someone should be
able to correct me if I'm wrong :)

However, is the SVG itself a necessary part of the process?  It seems
like if you're generating SVG, you may as well use cairo directly to 
draw -- then if needed, you can execute the same drawing commands 
against the cairo SVG backend instead of the software rendering backend 
and obtain SVG.

     - Vlad

Hans-Jürgen Koch wrote:
> I have an embedded board with an ARM processor (AT91SAM9263).
> I need to write an application that does the following:
> - Generate SVG code (lines, polygons, text)
> - Render this SVG drawing to the framebuffer
> I don't have X running on the device, and I don't want to
> install a full-blown GTK. I could provide something like 
> DirectFB if it helps.
> Question: Is Cairo a good thing for me, or should I look
> at something different?

More information about the cairo mailing list