Re: Loading application specific fonts

2008-11-05 Thread Behdad Esfahbod
Shepherd, Jason F wrote: > I've recently downloaded the gtk+ stable release and we have started using it > for text layout in a cross-platform environment (including windows). We > would like to load an application-specific font to generate test images which > are as close to identical as possi

Loading application specific fonts

2008-11-05 Thread Shepherd, Jason F
I've recently downloaded the gtk+ stable release and we have started using it for text layout in a cross-platform environment (including windows). We would like to load an application-specific font to generate test images which are as close to identical as possible across all of the platforms.

Re: on_expose_event not being called when expected (Garth's KidStuff)

2008-11-05 Thread Nicola Fontana
On Wed, 5 Nov 2008 06:40:43 -0800 "Garth's KidStuff" <[EMAIL PROTECTED]> wrote: > My modified question for the list then is this: Is this a reasonable > solution? Can anyone see a downside to calling > gdk_window_process_all_updates? The usual way to force UI update is, as described by the gtk_

re: on_expose_event not being called when expected (Garth's KidStuff)

2008-11-05 Thread Freddie Unpenstein
From: "Garth's KidStuff" on 06/11/2008 : >> This logic works impeccably (*grin*) until the CPU is under heavy load. In >> that case, I can see the invalidate_rect calls happening but >> on_expose_event doesn't get called until the cpu load is back to normal. >> I've been banging my head against th

re: on_expose_event not being called when expected (Garth's KidStuff)

2008-11-05 Thread Garth's KidStuff
> I have a large application whose drawing logic is based on the clock example >* When objects need to be redrawn they set a rectangle >* A timer fires every so often (100ms in my case), and I call >invalidate_rect with the above rectangle >* My Gtk::DrawingArea-derived class overrides on_expose_