Display question mark in my gtk+ app

Discussion in 'Ruby' started by thomaswong, Jun 8, 2007.

  1. thomaswong

    thomaswong Guest

    i follow the steps described in this site(http://ruby-
    gnome2.sourceforge.jp/hiki.cgi?tips_rubyscript2exe) to create my
    standalone ruby app with gtk2 by using rubyscripts2exe.
    and this exe file does run well except all the characters display in
    question mark . i got these error messages:

    D:\My Documents\My work\Ruby\factory>main.exe >>1.log
    C:/DOCUME~1/thom/eee/eee.main.exe.4/lib/rubygems/custom_require.rb:
    line
    32 Pango-WARNING **:No builtin or dynamically loaded modules were
    found. Pango will not work correctly.
    This probably means there was an error in the creation of:
    'C:\DOCUME~1\thom\eee\eee.main.exe.4\etc\pango\pango.modules'
    You should create this file by running pango-querymodules.
    C:/DOCUME~1/thom/eee/eee.main.exe.4/lib/rubygems/custom_require.rb:
    line
    32 Pango-WARNING **:pango_shape called with bad font, expect ugly
    output
    C:/DOCUME~1/thom/eee/eee.main.exe.4/lib/rubygems/custom_require.rb:
    line
    32 Pango-WARNING **:pango_font_get_glyph_extents called with null font
    argument, expect ugly output
    C:/DOCUME~1/thom/eee/eee.main.exe.4/lib/rubygems/custom_require.rb:
    line
    32 Pango-WARNING **:pango_font_get_metrics called with null font
    argument, expect ugly output
    C:/DOCUME~1/thom/eee/eee.main.exe.4/lib/rubygems/custom_require.rb:
    line
    32 Pango-WARNING **:_pango_cairo_font_install called with bad font,
    expect ugly output

    i don't know what's the problem about it. i can run my app using
    command "ruby myapp.rb", and everything is ok.
    thanks for your help !
    thomaswong, Jun 8, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    503
  2. Cirene
    Replies:
    5
    Views:
    562
    Cirene
    May 17, 2008
  3. Gergely Kontra
    Replies:
    2
    Views:
    238
    Joao Pedrosa
    Jun 18, 2004
  4. David Torres
    Replies:
    1
    Views:
    104
    Demetrius Gallitzin
    Mar 26, 2007
  5. Alex Shulgin
    Replies:
    1
    Views:
    162
    thefed
    Nov 21, 2007
Loading...

Share This Page