[cairo] building a "tiny" libcairo for embedded system?
Mike Emmel
mike.emmel at gmail.com
Tue Jan 31 04:40:50 PST 2006
On 1/30/06, David Young <dyoung at pobox.com> wrote:
> Does anyone have a recipe for building a tiny libcairo, suitable for an
> embedded system with a tight ROM/RAM budget---e.g., 8/16MB?
>
> Cairo itself may be acceptably small, but its dependency, libfreetype,
> is gigantic. Let me know how you have built Cairo without libfreetype.
>
You can strip libfreetype down to meet your requirments they have a
lot of build options. I've done it before I don't remember the exact
size but it was around 100k plus or so with just ttf support.
Its still large but much smaller then the default build. I don't know what fonts
your planning on using.
Also if its a simple bitmap font your create a very simple font
plugin for say pcf fonts
for cairo you won't get outlines obviously. If I remember correctly
trying to build just a pcf support version of freetype still included
quite a bit more then it needed but give it a try.
I'd be happy to help if your using a standard bitmap font format.
Mike
> Dave
>
> --
> David Young OJC Technologies
> dyoung at ojctech.com Urbana, IL * (217) 278-3933
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>
More information about the cairo
mailing list