Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 14 Nov 2019, 16:09
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HowTo use partially non-aliased fonts
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message

Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 17 Dec 2005, 22:46    Post subject:  HowTo use partially non-aliased fonts  

The X-Font-Server (xfs) has a method to antialias fonts.
They look less "pixeled" then.

This is good for huge fonts, because they look "rounded".

But depending on your monitor and your eyes, such fonts can be difficult to read at small sizes.

So here is a description, how to avoid antialias at small sizes.

That picture shows the result:

I installed this Dotpup, but I am not shure you need that:

Then I deleted all files in /etc/fonts (rename them!)
I added a new /etc/fonts/fonts.conf
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->

   <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/opt/ttfonts</dir> <dir>/usr/share/yudit/fonts</dir>

        <match target="font">
            <test name="size" compare="less">
            <edit name="antialias" mode="assign">
        <match target="font">

            <test name="pixelsize" compare="less" qual="any">
            <edit mode="assign" name="antialias">

You can run leafpad now, to test it.
Maybe, you will not see what you expected.
You have to force Gtk2-applications like leafpad,to use a font, that looks good.

Create a file /root/.gtkrc-2.0
style "user-font" {
   font_name = "lucida 12"
widget_class "*" style "user-font"

You also might have to set up your windowmanager.
I use fluxbox, with the Aqua-Theme.
So I edited

I replaced the line
*font:               Andale-12


*font:               -adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*

I copied Helvetica and Verdana from my Windows-Folder to /root/.fonts , and ran the commands:
cd /root/.fonts
mkfontscale `pwd`
mkfontdir `pwd`
xset fp+ /root/.fonts

Now Mozilla:
In edit - preferences:

Ps: more info on Fonts: http://www.murga.org/~puppy/viewtopic.php?t=4001&start=30

Thanks to Barry and Bombayrockers for their tips Exclamation Razz
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0358s ][ Queries: 11 (0.0057s) ][ GZIP on ]