[cairo] Render SVG to a framebuffer

Hans-Jürgen Koch hjk at linutronix.de
Fri Aug 10 16:55:26 PDT 2007

Am Samstag 11 August 2007 schrieb Vladimir Vukicevic:
> 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.

Well, in the end I need an SVG file that somebody else can render on a
different computer and get the same result as I see on my screen. How I
achieve that goal is not important.


>      - 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