Re: write text to pixbuf, sans X connection



"David N. Welton" <davidw@linuxcare.com> writes:
> 
> I'm trying to write a bit of code which will write some text to a
> pixbuf.  However, I don't have an X connection, so I can't transform
> it into a drawable and do gdk_draw_text.
> 
> Any ideas?
> 

You need something like the FreeType library, or some other font
rasterizer. (Imlib2 has this stuff built in I think, using freetype
probably).

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]