Re: extending Pango Attributes

2009-03-02 Thread Behdad Esfahbod
Paul Plaquette wrote: > Hello, > > for a project I have to add specific tag that come with attributes. > I also have to support pango span tag and its attributes as the set of > pango facility markups. > > Looking at PangoAttributes, I am thinking to use that data structure as > a basis and to

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread Behdad Esfahbod
august wrote: > hey y'all, > >I'm just getting started with cairo and pango and trying to figure >out how to render text within a non-rectangular bounding shape? I >can already render stuff to screen and bound a text segment by width >and heightbut still haven

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread august
> august, > > > I > > can already render stuff to screen and bound a text segment by width > > and height > > I guess you tried PangoLayout and friends. > > > how to render text within a non-rectangular bounding shape? > > > Can someone point me in the right direction? > > If I were you, I'd b

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread august
> > > In addition, I'd like to render text inside a polygon shape. > > This is not possible yet. Here is the bug tracking this issue: > > http://bugzilla.gnome.org/show_bug.cgi?id=435706 Behdad, How far did you get with that? I also see you were looking at

PangoCairo help

2009-03-02 Thread Ricchetti, Andrea
Hi, I'm very new user of Linux World. I'm doing a program for rendering text using pango cairo. I need rendered text on the Video Memory. I've developd a class to access to the frame buffer, and it's work correctly. Which is the correct way to start? I mean I've to created a cairo context