# Display question mark in my gtk+ app

**URL:** <https://www.ruby-forum.com/t/display-question-mark-in-my-gtk-app/106301>\
**Category:** Ruby\
**Created:** [June 8, 2007, 9:16am UTC](https://www.ruby-forum.com/t/display-question-mark-in-my-gtk-app/106301 "2007-06-08T09:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/848f3c/32.png) [@wet](https://www.ruby-forum.com/u/wet)\
**Post date:** [June 8, 2007, 9:16am UTC](https://www.ruby-forum.com/t/display-question-mark-in-my-gtk-app/106301/1 "2007-06-08T09:16:34Z")

</div>

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 !
