[cairo] need help - using pango with cairo

Krzysztof Kosiński tweenk.pl at gmail.com
Wed Jul 28 18:27:17 PDT 2010


2010/7/28 kumaran rajendran <anbutirumalai at gmail.com>:
> Hi All,
>
> I am doing a proof of concept (POC) project using cairo for one of my
> client. I want to use Pango for rendering text in Cairo Surface but the
> Pango library  is too big and  it requires more than 1 mb (glib +pango) but
> I have space limitation in my project . Please advice, where I can get
> minimal set of Pango library  that I can include in my project.
>
> Thanks in Advance,
>
> Anbu

You can:
a) compile Pango with all the backends except Cairo disabled and with
the -Os flag
b) manually remove all the parts you don't need from Pango
c) use Cairo's toy text API

Regards, Krzysztof


More information about the cairo mailing list