Image display in Tinyx-gtk for ARM9X



Title: Image display in Tinyx-gtk for ARM9X

Hi Group,
    Greetings from my side...
I have a gtk application, crosscompiled with Tinyx backend.
In the application i have an image,Please refer the code below..

         GtkWidget *image;
          -----
         image= gtk_image_new_from_file (imagefile);
i can diaplay the image in the application in my host pc(i686), but when i am running the appliaction on ARM9, the image is not displaying. One more observation is i am able to diaplay the images present in GTK_STOCK_BUTTONS.
Please read the following error log that i am getting in board.
I will put my questions in this way.
  1. Is there any specific setting needed to display images, when tinyx (x11) is used ?
  If any body come across similar problem please comment on it.

   ---error log---

Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!

(GTKEVL_XHTL:77): Gdk-WARNING **: locale not supported by Xlib

(GTKEVL_XHTL:77): Gdk-WARNING **: cannot set locale modifiers

(GTKEVL_XHTL:77): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(GTKEVL_XHTL:77): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(GTKEVL_XHTL:77): Gtk-WARNING **: Default font does not have a positive size

(GTKEVL_XHTL:77): Gtk-WARNING **: Default font does not have a positive size

(GTKEVL_XHTL:77): Gtk-WARNING **: Default font does not have a positive size
Fontconfig error: Cannot load default config file

(GTKEVL_XHTL:77): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(GTKEVL_XHTL:77): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(GTKEVL_XHTL:77): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported


Thanks for any clues ...

With regds,



Shyjumon N
Mobile: +91-9945006965






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