pango rendering using Xft




Hi !

I have some troubles rendering Xft on older GTK+ stack.
The application attached works just fine on the latest GTK+
stack, but on Redhat 7.3 with older versions it prints me
this error messages:

(testmain:28306): Gdk-CRITICAL **: file gdkcolor-x11.c: line 997 (gdk_colormap_query_color): assertion 
`GDK_IS_COLORMAP (colormap)' failed

** (testmain:28306): CRITICAL **: file pangoxft-font.c: line 392 (pango_xft_picture_render): assertion 
`dest_picture != None' failed

I wonder is there a way to progromatically detect Xft won't work, and fall
back to X rendering ?

Thanks,
    Pawel.

Bye.
--
 Pawel S. Veselov [vps] (MTS, Service Provisioning and OMA)   __ __(O) _ __
   (408) 276-5410   e-mail: Pawel Veselov Sun COM             \ V /| || '  \
fax(408) 276-3243 HomePage: http://manticore.2y.net            \_/ |_||_|_|_|

Attachment: testxft.c
Description: Text document



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