How To Draw Bitmaps From FreeType?

2006-12-23 Thread Eric Mader
Hello, I'm trying to render anti aliased bitmaps (i.e. 8 bits per pixel) generated by FreeType. I tried to create a GdkPixmap from the pixels and drawing it to the window using gdk_draw_drawable(), but that fails because the depth of the src (8) and the depth of the window (24) are different.

Problem with GtkProgressBar and multi thread application

2006-12-23 Thread Tomasz Jankowski
Hello! This is simple code: #include gtk/gtk.h gboolean pulse_it (gpointer data) { gtk_progress_bar_pulse (data); return TRUE; } gint thread_fun (gpointer data) { gint source_id = g_timeout_add (100, (GSourceFunc) pulse_it, data); g_usleep (500); g_source_remove

Re: How To Draw Bitmaps From FreeType?

2006-12-23 Thread John Coppens
On Sat, 23 Dec 2006 10:30:59 -1000 Eric Mader [EMAIL PROTECTED] wrote: I'm also thinking about creating a GdkPixbuf with a depth of 24 and filling it by hand from the FreeType bitmap by copying the 8 bit pixel value into all three components of the pixbuf. Will that work? Eric, Did you

Re: gtk+ roadmap?

2006-12-23 Thread Havoc Pennington
Louis E Garcia II wrote: I believe Yang JianJun is working on the xcb port of gtk and wanted to know how it's coming? Their has been talk of possible abi compatibility problems with xlib. I wonder if this would be a good time for a abi/api break 3.0 release. Their are many performance