Re: Embedding icons in Pango text, the "right" way?

2016-08-12 Thread Behdad Esfahbod
See: https://github.com/GNOME/pango/blob/master/examples/cairoshape.c On Aug 11, 2016 8:04 AM, "Andy Meneely" wrote: > Hi, > I maintain a Ruby gem that uses Pango heavily ( > https://github.com/andymeneely/squib/). One of the key features is to be > able to draw an icon into the text such that

Re: Embedding icons in Pango text, the "right" way?

2016-08-12 Thread Andy Meneely
On Fri, Aug 12, 2016 at 5:26 AM, Stefan Salewski wrote: > On Thu, 2016-08-11 at 11:04 -0400, Andy Meneely wrote: > > One of the key features is to be able to draw an icon > > into the text > > You do know that GTK3 textview is doing exactly that? > > See GTK3 gtk3-demo program, textview, "Multipl

Re: Embedding icons in Pango text, the "right" way?

2016-08-12 Thread Stefan Salewski
On Thu, 2016-08-11 at 11:04 -0400, Andy Meneely wrote: > One of the key features is to be able to draw an icon > into the text You do know that GTK3 textview is doing exactly that? See GTK3 gtk3-demo program, textview, "Multiple Views". No idea how that works internally, sorry. __