Forum: Ruby Display question mark in my gtk+ app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7da10bb4a39503bc17e48d6a177a701a?d=identicon&s=25 Thomas Wong (thomaswong)
on 2007-06-08 09:16
(Received via mailing list)
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 !
This topic is locked and can not be replied to.