Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Trouble with gtkextra

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


julle.luukko at quicknet

Nov 16, 2007, 9:18 AM

Post #1 of 3 (103 views)
Permalink
Trouble with gtkextra

Hello all,

I have trouble getting programs using gtkextra [1] to work. You can get
a debian package of gtkextra using mud (I have also made a deb of my
own, which divides the library and development files into separate
packages). The problem is that the programs fail with the following (or
similar) error:

[sbox-SDK_ARMEL: ~/testgtkplot] > run-standalone.sh ./testgtkplot
/home/julle/.osso/current-gtk-key-theme:1: Unable to find include file:
"keybindings.rc"
testgtkplot[4227]: GLIB WARNING ** Pango - Cannot open font file for
font Bitstream Vera Sans 2097151.9990234375
testgtkplot[4227]: GLIB WARNING ** Pango - Cannot open fallback font,
nothing to do

So it seems to have something to do with fonts. I know nothing about
pango and I have just started to familiarize myself with gtkextra also.
Does anybody have any hints how to proceed?

I have shortened and hildonized one of the examples from gtkextra. You
can find it here

http://personal.inet.fi/koti/julius.luukko/testgtkplot.c

It compiles and runs fine with plain GTK (just define PLAINGTK in
compilation) but fails with the above error messages in scratchbox
(haven't tried it in the IT)

BR

Julius

[1] http://gtkextra.sourceforge.net/
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


julle.luukko at quicknet

Nov 16, 2007, 9:29 AM

Post #2 of 3 (88 views)
Permalink
Re: Trouble with gtkextra [In reply to]

Julius Luukko wrote:
> [sbox-SDK_ARMEL: ~/testgtkplot] > run-standalone.sh ./testgtkplot
> /home/julle/.osso/current-gtk-key-theme:1: Unable to find include file:
> "keybindings.rc"
> testgtkplot[4227]: GLIB WARNING ** Pango - Cannot open font file for
> font Bitstream Vera Sans 2097151.9990234375
> testgtkplot[4227]: GLIB WARNING ** Pango - Cannot open fallback font,
> nothing to do
>
> It compiles and runs fine with plain GTK (just define PLAINGTK in
> compilation) but fails with the above error messages in scratchbox
> (haven't tried it in the IT)

Replying to myself: I tried with the i386 target inside scratchbox and
the program runs, but without printing any text to the plot. I should
have remembered that the qemu emulation is not perfect. I am compiling
for bora.

Julius
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


julle.luukko at quicknet

Nov 18, 2007, 7:22 AM

Post #3 of 3 (83 views)
Permalink
Re: Trouble with gtkextra [In reply to]

Julius Luukko wrote:
> Julius Luukko wrote:
>> [sbox-SDK_ARMEL: ~/testgtkplot] > run-standalone.sh ./testgtkplot
>> /home/julle/.osso/current-gtk-key-theme:1: Unable to find include file:
>> "keybindings.rc"
>> testgtkplot[4227]: GLIB WARNING ** Pango - Cannot open font file for
>> font Bitstream Vera Sans 2097151.9990234375
>> testgtkplot[4227]: GLIB WARNING ** Pango - Cannot open fallback font,
>> nothing to do
>>
>> It compiles and runs fine with plain GTK (just define PLAINGTK in
>> compilation) but fails with the above error messages in scratchbox
>> (haven't tried it in the IT)
>
> Replying to myself: I tried with the i386 target inside scratchbox and
> the program runs, but without printing any text to the plot. I should
> have remembered that the qemu emulation is not perfect. I am compiling
> for bora.
>

Continuing my monologue: I took the time to install Chinook today and
gtkextra seems to work fine. My test program

http://personal.inet.fi/koti/julius.luukko/testgtkplot.c

runs inside scratchbox both with X86 and ARMEL targets.

I checked the pango source code and found the above error messages in
pangoxft_font.c in functions xft_font_get_font and load_fallback_font.
The latter is only called from the former, but the former is called from
several other functions in pangoxft_font.c. I took a strace in the N800
running OS2007, but I am not sure if I have the time and knowledge to
debug this further, or even file a bug report with this little
information. The strace is available in

http://personal.inet.fi/koti/julius.luukko/testgtkplotstrace.log

BR

Julius
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.