freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] freetype tutorial & gdk/gtk


From: Bryan Buchanan
Subject: Re: [Freetype] freetype tutorial & gdk/gtk
Date: 29 Aug 2002 22:43:09 +1000

On Thu, 2002-08-29 at 18:34, Michael Pfeiffer wrote:
> >  gdk_draw_gray_image(widget->window,
> >    widget->style->black_gc,
> >    pen_x, pen_y,
> >    32, 32, <--- wrong, size depends on individual glyph:
> 
>     slot->bitmap.width, slot->bitmap.rows,
> 
> >    GDK_RGB_DITHER_NORMAL,
> >    slot->bitmap.buffer,
> >    slot->bitmap.pitch);
> 
> - Michael
> 

Michael,

Thanks. Worked like a charm.

Any idea how to change the colours of the bitmap (fg/bg) ? Currently I
get white letters on a black background. I've tried a few Gdk functions
with not much joy.

Bryan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]