in message <20101209114208.c1...@qroenaqrq.6qbyyneqvnyhc.pbz>, wrote
Lars Eighner thusly...
>
> How do I make gtk widgets use larger fonts? I found an old linux
> FAQ on this, but it appears to have nothing to do with the way
> configuration works on FreeBSD.

In ~/.gtkrc-2.0, I have ...

  style "default"
  {
    #font="-adobe-new century 
schoolbook-medium-r-normal--14-*-*-*-*-*-iso8859-1"
    #font_name="New Century Schoolbook 12"
    font_name="Bitstream Vera Sans 10"
  }

  style "user-tooltip"
  {
    font_name="Screen 15"
  }

  #  'gtk-font-name' property is needed for damned Firefox 1.5 as
  #  'font_name' property alone didn't work, but does for Gimp 2.2.
  #  Anti-aliased fonts are used though i would love to use
  #  non-anti-aliased font in order to get New Century Schoolbook 14
  #  font.
  #gtk-font-name = "Bitstream Vera Serif 12"
  #gtk-font-name = "New Century Schoolbook 12"
  gtk-font-name = "Bitstream Vera Sans 10"

  widget "*"              style "default"
  widget "*tooltip*"      style "user-tooltip"


... and in ~/.gtkrc ...

  style "default"
  {
    font="-adobe-new century schoolbook-medium-r-normal--18-*-*-*-p-*-iso8859-1"
  }

  style "user-tooltip"
  {
    font="-sgi-screen-bold-r-normal--16-*-*-*-*-0-iso8859-1"
  }

  widget "*"          style "default"
  widget "*tooltip*"  style "user-tooltip"



  - parv

-- 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to