A poor quality screen shot, but the actual improvement is much better than this. This how to aims to provide uniform bitstream fonts for gtk1 , gtk2 and kde apps.
install the following packages
1. freetype-6.3.8.pup from http://www.murga.org/~puppy/viewtopic.p ... t=freetype
2. bitstream vera fonts.pup from
http://www.murga.org/~puppy/viewtopic.p ... t=bistream
goto /root/.fonts and run the following commands
Code: Select all
mkfontscale /root/.fonts
mkfontdir /root/.fonts/
3. replace /etc/gtk/gtkrc with this code
Code: Select all
# Empty gtkrc for default theme
style "default"
{
# for gtk2...
font="-bitstream-bitstream vera sans-medium-r-normal-*-*-100-*-*-p-*-iso8859-1"
}
class "GtkWidget" style "default"
4. replace /etc/gtk-2.0/gtkrc with the following code
Code: Select all
# gtkrc default theme
style "default"
{
# for gtk2...
# font_name="Arial 12"
}
style "user-font"
{
font_name="Bitstream Vera Sans 11"
}
widget_class "*" style "user-font"
gtk-font-name="Bitstream Vera Sans 11"
class "GtkWidget" style "default"
5. to set fonts in kde use kcontrol -> appearance -> fonts -> choose all -> bitstream vera sans size 11. DO NOT use anto aliasing.
6. I have tested this in 1024x768 + Xorg. This will also work in Xvesa but you would still have fonts with jagged edges. size 11 is a bit large in 800x600. So you would have to edit the the font sizes in gtkrc files. Following is an assumption which should work. Not tested.
/etc/gtk/gtkrc
Code: Select all
# Empty gtkrc for default theme
style "default"
{
# for gtk2...
font="-bitstream-bitstream vera sans-medium-r-normal-*-*-90-*-*-p-*-iso8859-1"
}
class "GtkWidget" style "default"
Code: Select all
# gtkrc default theme
style "default"
{
# for gtk2...
# font_name="Arial 12"
}
style "user-font"
{
font_name="Bitstream Vera Sans 11"
}
widget_class "*" style "user-font"
gtk-font-name="Bitstream Vera Sans 11"
class "GtkWidget" style "default"
7. Are fonts in mozilla very large ? I got around the problem by making a new profile. Goto to TOOLS in mozilla and SWITCH PROFILE. create new profile and the menu and toolbar will get synced with other gtk apps. Goto edit -> preferences - > Appearance -> fonts -> change fonts to bitstrean vera sans , monospce font to bitstream vera sans mono. proportional fonts can be changed to sans and sans-serif only. Disable Allow documents to use other fonts.
8. If you run into some trouble let me know. There are a few more things which can be tried.
*EDIT*
How to Have windows like clear fonts in Puppy
1. Follow the instructions given above
2. Mount you windows partition.
3. copy the following fonts from \windows\Fonts on the windows partition to /root/.fonts on the pupxxx file
tahoma.ttf
verdana.ttf
times.ttf
4. use commands mkfontscale and mkfontdir as explained above
5. replace you /etc/gtk/gtkrc file with code from here
Code: Select all
# Empty gtkrc for default theme
style "default"
{
# for gtk2...
font="-microsoft-tahoma-medium-r-normal-*-12-*-*-*-p-*-iso8859-1"
}
class "GtkWidget" style "default"
adjust the size (no 12) according to your resolution and dpi. 12 is the size for screen resolution 1024x768 dpi 72
6. replace your /etc/gtk-2.0/gtkrc with this code
Code: Select all
# gtkrc default theme
style "default"
{
# for gtk2...
# font_name="Arial 12"
}
style "user-font"
{
font_name="Tahoma 12"
}
widget_class "*" style "user-font"
gtk-font-name="Tahoma 12"
class "GtkWidget" style "default"
7. extract the fontdoc.tar.gz and read how to on configuring konqueror and mozilla fonts.