hello nobody can help me? thank > hello > > i am try to build a linux app on win32 with gtk2 > > i have made some change and build it without problem. > > the app run without error but i have no text drawing. > the following function draw text. it work fine on linux. > > voiddraw_layout_text1(int x, int y, char *text, int fsmall) > { > GdkRectangle update_rect; > PangoLayout *pango_layout; > PangoLayoutLine *pango_line; > > GtkStyle *style; > PangoFontDescription *font; > > //y -= is_windows; /* fix incompatibility in Win GTK */ > update_rect.x = x * field_element_size; > update_rect.y = y * field_element_size; > if(fsmall) > pango_layout = pango_layout_new(small_label_context); > else > pango_layout = pango_layout_new(normal_label_context); > pango_layout_set_text(pango_layout, > text, > -1); > pango_line = pango_layout_get_line(pango_layout, > 0); > gdk_gc_set_foreground(field_GC, > _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list