PDA

View Full Version : Question about Charles' "new fontconfig"


jestery
07-17-2006, 07:04 PM
Topic's here:
http://www.pcbsd.org/forums/viewtopic.php?t=3522

First, thanks for charles nice job!

I have installed them on my system, but after I faced the monitor hour and hour, day and day, I found that I perfer the default looks(hinting and alias)

Two questions:
1, I didn't backup the files in /usr/X11R6/etc/fonts, How can I rollback these files to the default version? (I don't want to tar -xzf pcbsd.tbz, It's too big in size)
2, I was created ~/.fonts.conf for my own fonts, why it's no effect?

sorry for my bad english, I don't konw if you can/can't understand what I say :( , but I need help, thanks!

rcarring
07-17-2006, 08:47 PM
I am running Firefox, and have huge menu and dialog/message box fontsizes. I had hoped that the new fontconfig that I installed (I am running 1.2 upgraded from 1.11a using the 95mb upgrade pbi) would sort this out. Now I do recall that a fix (that worked) was to create a config file for gtk, but I am having trouble locating the post and the code required to create this file.

If someone could be kind enough to help, that would be great.

I also have some other issues with the 1.2 release that I am posting separately.

dracheflieger
07-17-2006, 10:24 PM
Create a

.gtkrc-2.0

in your home directory and load it with:

gtk-font-name="Bitstream Vera Sans 12"

or what ever font and size you choose.

Charles
07-17-2006, 10:50 PM
Yes, open the file .gtkrc-2.0 and change 12 to 10 maybe.

To revert to regular fonts, uninstall the Microsoft Fonts, this should do the trick.

jestery
07-18-2006, 05:10 AM
thanks.
And the second one? why ~/.fonts.conf doesn't work?

Charles
07-18-2006, 12:12 PM
Not sure, but you could check the file /usr/X11R6/etc/fonts/fonts.conf and there is a line that includes .fonts.conf somewhere. Swap this line with the one that includes /usr/X11R6/etc/fonts/local.conf

This should do the trick. Or if it doesn't, include your rules in the /usr/X11R6/etc/fonts/local.conf file instead.