Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unable to load fonts in my gtk+ program

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
hiimsa



Joined: Mon Nov 27, 2006 1:08 pm
Posts: 1

PostPosted: Mon Nov 27, 2006 1:11 pm    Post subject: unable to load fonts in my gtk+ program Reply with quote

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.

ERRORS ARE:
(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
hiimsa
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast