RE: EuGTK_Win.zip
- Posted by I Mullins <eugtk at yahoo.com> Mar 25, 2004
- 467 views
Ray Smith wrote: > I installed the runtime to c:\GTK ... so I added c:\gtk\lib to my path. > > Following the file location structure at: > http://gtk-wimp.sourceforge.net/faq/ > > I created a new directory: > c:\gtk\lib\gtk-2.0\2.2.0\engines\ > and copied > c:\gtk\lib\libwimp.dll > to > c:\gtk\lib\gtk-2.0\2.2.0\engines\libwimp.dll > > I created a new directory: > c:\gtk\share\themes\gtk-wimp\gtk-2.0\ > and copied > c:\gtk\etc\gtk-2.0\gtkrc.window > to > c:\gtk\share\themes\gtk-wimp\gtk-2.0\gtkrc > > This gets the correct "Wimp" (or Windows) theme but produces some of > the "font" errors. As I said, everything still seems to work > correctly except for the font messages displayed in a console window. > > I haven't done any more investigation from this point. Hi Ray: The font errors are because GTK can only use TrueType fonts, and the MS Sans Serif 8 is not real TT. You can prevent this error if you add a line to gtkrc-winp to specify a font you like (choose one which does not have a big red A) GtkTreeView::allow-rules = 0 GtkTreeView::expander_size = 11 engine "wimp" { } font_name = "Verdana 8" #added line } class "*" style "wimp-default" -- Once this is done, I get no errors at all. Regards, Irv