Re: Make gtk widgets use a larger font
The fastest solution is probably to install x11/gtk-theme-switch2 and use switch2 to change the theme and/or font. ___ 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
Re: Make gtk widgets use a larger font
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
Re: Make gtk widgets use a larger font
Quoth Lars Eighner on Thursday, 09 December 2010: 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. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ 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 I've been looking into this, although my intention was to make the fonts smaller. I have yet to be successful. I think the answer should lie in modifying your gtk theme file (.gtkrc-2.0 for GTK 2). I started by copying a theme that I liked (a href=http://www.cimitan.com/murrine/node/220;Black Diamond/a) and modifying it. That worked fine for colors, but I couldn't get any font qualifiers to take. Probably the Murrine engine is getting in the way, and I should start with a blank slate for the theme -- but I haven't had time to build one from scratch yet. All I really wanted this for was to reduce the footprint of the chrome on Firefox, so in the end I just installed the Theme Font Size Changer add-on for Firefox, and that did the trick. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgp8Wntvr7c4u.pgp Description: PGP signature
Re: Make gtk widgets use a larger font
On Thu, 9 Dec 2010 11:44:01 -0600 (CST), Lars Eighner luvbeas...@larseighner.com wrote: 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. I'm not sure if it will still work, but in the past, you could create ~/.gtkrc and override settings as you liked. style font_1 { font= -bh-lucida-medium-r-normal-*-12-*-*-*-p-*-iso8859-15 } class * style font_1 widget * style font_1 Then replace iso8859-15 with the font encoding you need, and of course 12 with any other font size that fits your needs. In order to construct the font determination string based on a visual impression and attribute selection from lists, you can use the % xfontsel program. Attention: Untested. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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