Thanks Vijesh! 

 

I turned off double buffering on the GdkDrawingArea and the pango text is now visible.

Do you know what the problem is?  I’d like to look into fixing it to avoid screen flicker.

 


From: Vijesh VH [mailto:[EMAIL PROTECTED]
Sent: Monday, May 15, 2006 9:48 PM
To: Clif Swiggett
Subject: Re: [directfb-dev] Pango Fonts not displaying

 

try disabling BACKING_STORE...

On 5/16/06, Clif Swiggett <[EMAIL PROTECTED]> wrote:

Does anyone know what I might be doing wrong?
I'm using a cross compiled GtkDfb
       Gtk+ from cvs date 20060328
       Pango 1.12.1
       Cairo from cvs date 20060505
       DirectFB 0.9.24

I can't seem to be able to coax Pango to render fonts.  There are fonts
installed on the target system and cached using fc-cache.  I can render
text with DirectFB without a hitch.  But Pango doesn't work.

For instance, when doing the following:

        PangoLayout *layout = gtk_widget_create_pango_layout(widget,
"Hello World");
        gdk_draw_layout(widget->window, widget->style->black_gc, 10,
widget->allocation.height/2, layout);

Nothing appears on the target board.  And there is a 3-4 second delay in
the gdk_draw_layout call.  But the same code runs fine on my linux dev
machine with the framebuffer enabled.


Anyone have any ideas what might be wrong or how to go about debugging
it?

Thanks for any insights here!
Clif



_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev




--
Thanks and Regards,
Vijesh V H

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to