[cairo] Porting cairo to Symbain

Jeff Muizelaar jeff at infidigm.net
Thu Aug 14 08:51:06 PDT 2008

On Thu, Aug 14, 2008 at 02:02:54PM +0800, Bo Yang wrote:
> Hi dear cairo developers,
>     I get known with cairo through Mozilla code base, and for porting
> Mozilla to symbain platform, it is better to port cairo to that
> platform first. I did not find any effort on porting cairo for
> Symbain, so I just start to consider this...
>     After some look into the cairo source, I think porting cairo is to
> provide a new backend for Symbain, in details they are four struct:
> _cairo_scaled_font_backend , _cairo_unscaled_font_backend,
> _cairo_font_face_backend and _cairo_surface_backend. Could anybody
> tell me should I need do something other to port cairo?

Yes, those are the main parts that you would need porting. Creating a
symbian _cairo_surface_backend shouldn't be too hard as you can rely on
image fallbacks to do most of the work. cairo-os2-surface.c and
cairo-quartz-image-surface.c are examples of surfaces that rely on

If you run into any problems or have other questions please ask.

> And does cairo design for Phone? I mean, whether the core of cairo can
> be used on phone happily with the phone memory and compute power?

Yes, the core of cairo can certainly be used on a phone. We definitely
care about memory usage and performance on mobile devices.


More information about the cairo mailing list