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 27 Nov 2014, 02:52
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 Posts_count   Goto page: 1, 2, 3, 4 Next
Author Message
Iguleder


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

PostPosted: Thu 13 Aug 2009, 01:40    Post_subject:  [HowTo] Turn On/Off Font Antaliasing
Sub_title: 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

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
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)
Edited_time_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
Edited_time_total
Back to top
View user's profile Send_private_message 
Iguleder


Joined: 11 Aug 2009
Posts: 1924
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_website MSNM 
ICQ 
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
Edited_time_total
Back to top
View user's profile Send_private_message 
Iguleder


Joined: 11 Aug 2009
Posts: 1924
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_website MSNM 
ICQ 
mikeb


Joined: 23 Nov 2006
Posts: 8706

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 YIM 
Iguleder


Joined: 11 Aug 2009
Posts: 1924
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_website MSNM 
ICQ 
trio


Joined: 21 Dec 2008
Posts: 1886
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

_________________
My apps
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8706

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: 1924
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_website MSNM 
ICQ 
mikeb


Joined: 23 Nov 2006
Posts: 8706

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:   Sort by:   
Page 1 of 4 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0911s ][ Queries: 13 (0.0113s) ][ GZIP on ]