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 Tue 16 Sep 2014, 03:48
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
[HowTo] Turn On/Off Font Antaliasing
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [47 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
Iguleder


Joined: 11 Aug 2009
Posts: 1906
Location: Israel, somewhere in the beautiful desert

PostPosted: Thu 13 Aug 2009, 01:40    Post subject:  [HowTo] Turn On/Off Font Antaliasing
Subject description: Recommended: on for LCD screens, off for CRT
 

Turn On/Off Font Antaliasing by Iguleder

This guide instructs you how to enable or disable font antialiasing (smoothing) and hinting. Antialiased fonts appear smooth, without sharp corners, in contrast with un-antialised fonts, which are sharp.

Changelog:
Quote:

27/8/09: after some research, changes.
13/8/09: first version.


___________________________________

BEFORE DOING IT:
- In Puppy, by default, it's turned on for JWM. However, if you want to install XFCE/KDE/GNOME, I *think* it's off by default for them.
- Choose between on and off. You can reverse the changes (delete the created files) and try both modes.
- This is easy. Don't panic.

REQUIREMENTS:
- Linux.

___________________________________

Step 1: for JWM.

Choose between on and off. Turning antialiasing fonts will result in sharp fonts, which may be unreadable on some LCD monitors. Generally, it is recommended that you turn it on for LCD monitors and off for CRT monitors.

(Left: off, right: on, see the difference)


Step 2: copy the code.

On:
Code:

<match target="font">
 <edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
 <edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>


Off:
Code:
<match target="font">
 <edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
 <edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>


Open Geany ('edit' icon on your Puppy desktop) and paste the code (CTRL + V). Then save the file as /root/.fonts.conf (attention: there's a dot before "fonts").

Step 3: for GNOME/XFCE (only if you have any).

Go to the console, and run:
cp /root/.fonts.conf /etc/fonts/local.conf

Enjoy, fellow mates. Wink

Last edited by Iguleder on Thu 27 Aug 2009, 06:41; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Thu 13 Aug 2009, 02:40    Post subject:  

(deleted in penitence by poster)
Last edited by Sit Heel Speak on Fri 14 Aug 2009, 17:24; edited 1 time in total
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Thu 13 Aug 2009, 02:48    Post subject:  

deleted by poster who is scourging self to do penitence
Last edited by Sit Heel Speak on Fri 14 Aug 2009, 17:25; edited 1 time in total
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1906
Location: Israel, somewhere in the beautiful desert

PostPosted: Thu 13 Aug 2009, 02:58    Post subject:  

Me wrote:
- In Puppy, by default, it's turned on for JWM.


Right. Yawn.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Thu 13 Aug 2009, 02:58    Post subject:  

deleted by poster who humbly beseeches forgiveness
Last edited by Sit Heel Speak on Fri 14 Aug 2009, 17:25; edited 1 time in total
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1906
Location: Israel, somewhere in the beautiful desert

PostPosted: Thu 13 Aug 2009, 07:28    Post subject:  

Sit Heel Speak wrote:

Let go your ego


Yeah, sure. Confused
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
mikeb


Joined: 23 Nov 2006
Posts: 8251

PostPosted: Thu 13 Aug 2009, 08:42    Post subject:  

Quote:
cp /root/.fonts.conf /etc/fonts/local.conf

finally I now know why I have always had georgous fonts on puppy 2.xx with xfce4 including on firefox but was puzzled to not have that on puppy 4..I guess the installer did this for me

I can now sleep soundly

mike
Back to top
View user's profile Send private message 
firepants-jr

Joined: 05 Aug 2009
Posts: 13
Location: Tulsa, OK, USA

PostPosted: Fri 14 Aug 2009, 00:47    Post subject:  we all can't be top dog.  

Iguleder wrote:
Sit Heel Speak wrote:

Let go your ego


Yeah, sure. Confused


I appreciate your effort to contribute. Discouraging member contribution runs contrary to the spirit of the Linux community. Ignore detractors and keep helping in whatever works best for you.

Thanks. Very Happy
Back to top
View user's profile Send private message AIM Address Yahoo Messenger 
Iguleder


Joined: 11 Aug 2009
Posts: 1906
Location: Israel, somewhere in the beautiful desert

PostPosted: Fri 14 Aug 2009, 04:22    Post subject:  

About the "let go your ego", I don't see where it fits. The only one who doen't "let go your ego" is the person who said this! He tells me to "let go my ego" while he links to his post (he's trying to prove that downloading a huge .PET is a better way to turn on antialiasing, actually)!

I'm just trying to contribute from my knowledge and my experience, I'm not trying to hurt anyone. That's my thing.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 04:38    Post subject:  

Iguleder wrote:
About the "let go your ego", I don't see where it fits. The only one who doen't "let go your ego" is the person who said this! He tells me to "let go my ego" while he links to his post (he's trying to prove that downloading a huge .PET is a better way to turn on antialiasing, actually)!

I'm just trying to contribute from my knowledge and my experience, I'm not trying to hurt anyone. That's my thing.


No worries, just do your thing, somebody else might find it useful. Wink Cool down......whoosa

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8251

PostPosted: Fri 14 Aug 2009, 06:13    Post subject:  

With a forum this size its not uncommon for there to be duplicate information ... I actually though Sit Heel Speak was dealing with more than just a quick fonts.conf fix for browser rendering which I posted elsewhere too ...
At the end of the day everyone is simply trying to help with information that they have gathered themselves.....I certainly have no ambitions to be top dog....in fact I'm not sure if I have an ego Very Happy

mike
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Fri 14 Aug 2009, 17:29    Post subject: Re: we all can't be top dog.  

firepants-jr wrote:
Discouraging member contribution runs contrary to the spirit of the Linux community
Too-shay, friend. You are 100% correct. I stand corrected, admit my offense, and humbly beg forgiveness.

May I inquire, Iguleder,--if you will countenance my daring to approach, after my insolent first reaction, so full of my own ego-- on what Puppy, and under what window manager, you have found this elegant solution to be of benefit?
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1906
Location: Israel, somewhere in the beautiful desert

PostPosted: Sat 15 Aug 2009, 05:59    Post subject:  

On both 4.2.1 and my custom dpup (476). It should work on all Puppies.

As I said, it's on for by default in JWM, but off in XFCE/GNOME, so it may be useful for NOP users, for instance.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
mikeb


Joined: 23 Nov 2006
Posts: 8251

PostPosted: Tue 18 Aug 2009, 20:14    Post subject:  

Ok xfce on 4.12...copied /etc/fonts/fonts.conf as is to /root/.fonts.conf and voila those perfect fonts I've been used to in puppy 2 in firefox...better than my original file hyjacked from ubuntu...(gave coloured edges to fonts)

Why the difference between puppy versions....different versions of gtk2/pango etc have their config files in different places...the daft barstewards Very Happy

mike

edit...its probably the version of gtk2 that the browser was compiled against maiking a difference
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Wed 19 Aug 2009, 03:22    Post subject:  

I just tried making a bci-hinting-enabled libfreetype PET for 4.12-regular.

Official Puppy 4.12, with my .pet installed, looks awful! Whereas, simply writing iguleder's code to /root/.fonts.conf, but not to /etc/fonts/local.conf, looks great! In fact, this "4.12-iguleder" looks very nearly as good as 4.20 looks with my full bci font tweaks.

upup-466 does not improve with bci tweaking, either. I think I'll go try iguleder's method...

It must be as mikeb says: different ways that gtk, pango/cairo, libXft, Seamonkey are compiled, in different Puppies means that these different methods of font tweaking, produce different results on different Puppy versions.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [47 Posts]   Goto page: 1, 2, 3, 4 Next
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.0875s ][ Queries: 13 (0.0060s) ][ GZIP on ]