[cairo] Creating an image with text

Jamie Guinan guinan at bluebutton.com
Thu Apr 29 14:09:42 PDT 2010


On Thu, 29 Apr 2010, Alexander Shulgin wrote:

> On Thu, Apr 29, 2010 at 00:18, Oscar Lazzarino
> <oscar.lazzarino at gmail.com> wrote:
> >
> > Any advice? Do I need to create a dummy surface ( 1x1 pixels ) just to
> > build a layout and measure it?
> 
> I'm no pango expert, but while not seeing other possibilities why not try this?

I'm not a pango expert either, but that is what "pango-view" appears to do.



More information about the cairo mailing list