specific font selection



	I recently ported my application from V1.2 to V2.X of GTK.  The one
item I haven't been able to figure out is how to force it to use a specific
font.  Here is the code for V1.2 which worked fine:
  gtk_rc_parse_string("style \"nm1\" { font =
\"-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-*\" }");

	Through trial and error I arrived at 9.2 so that the following line
uses the desired font on my computer for V2.X:
  gtk_rc_parse_string("style \"nm1\" { font_name = \"helvetica 9.2\" }");

	The problem is that when I install the application on other systems
it sometimes uses a different font.  How can I force my application to use
the specific font that I desire?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]