unable to load fonts in my gtk+ program

Code junkies hangout here

Moderators: ChriThor, LXF moderators

unable to load fonts in my gtk+ program

Postby hiimsa » Mon Nov 27, 2006 1:11 pm

hi all,

when try to use gtk_font_load(font) in my program, my program gives me error but if give their system default fonts it runs properly. i already registered those fonts and that fonts work properly in open office.

(process:8191): GLib-GObject-CRITICAL **: gtype.c:2254: initialization assertion failed,
use IA__g_type_init() prior to this function

Gdk-CRITICAL **: gdk_font_load_for_display: assertion `GDK_IS_DISPLAY (display)' failed

Is there any way to solve this problem.

waiting for ur reply.
thanks & regards
Posts: 1
Joined: Mon Nov 27, 2006 1:08 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest