Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]Freetype subpixel font rendering - lcd monitors Pt 2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Jan 07, 2009 11:00 pm    Post subject: Reply with quote

bi3l wrote:
I've updated the tarball:
- freetype to 2.3.7-r1 (latest ubuntu, archlinux and portage patches)
- cairo to 1.8.6 (latest ubuntu and archlinux patches)
- libXft to 2.1.13 (latest archlinux patches)

I've also added pixman 0.13.2 (shamelessly stolen from devnull :wink: )

Once again, thank you for your efforts. (even if I don't make use of them now :D)
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Thu Jan 08, 2009 9:02 am    Post subject: Reply with quote

bi3l wrote:
I've updated the tarball:
- freetype to 2.3.7-r1 (latest ubuntu, archlinux and portage patches)
- cairo to 1.8.6 (latest ubuntu and archlinux patches)
- libXft to 2.1.13 (latest archlinux patches)

I've also added pixman 0.13.2 (shamelessly stolen from devnull :wink: )

No probem, I stole some stuff from you too :p
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Thu Jan 08, 2009 1:08 pm    Post subject: Reply with quote

What do you recommend now? Cleartype or those other patches? Or all of them? I'm still confused 8)
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Thu Jan 08, 2009 4:10 pm    Post subject: Reply with quote

Phlogiston wrote:
What do you recommend now? Cleartype or those other patches? Or all of them? I'm still confused 8)

cleartype. newspr is dead in devnull (and gentoo-lcdfiltering)

I have updated the devnull overlay, we are now in sync with gentoo-lcd-filtering.tar.bz2.
bi3l: if you want access to the overlay for doing this font stuff pm me so we don't have to do double work (our ebuilds were nearly the same anyway)

devnull users: please rebuild cairo libXft and freetype, then revise your fontconfig settings and post here if you have any problems with the cleartype stuff.

edit: http://nico.core.ws/tmp/cleartype.png here is a screenshot so you can see what it looks like with this settings* - different but nice.
* different monitors render differently so it may be possible that you get other results. also you can't screenshot subpixel rendering.
Back to top
View user's profile Send private message
Cyberstudio
Apprentice
Apprentice


Joined: 17 Oct 2005
Posts: 237
Location: /usr/src/linux

PostPosted: Thu Jan 08, 2009 11:28 pm    Post subject: Reply with quote

ocin wrote:
Phlogiston wrote:
What do you recommend now? Cleartype or those other patches? Or all of them? I'm still confused 8)

cleartype. newspr is dead in devnull (and gentoo-lcdfiltering)

I have updated the devnull overlay, we are now in sync with gentoo-lcd-filtering.tar.bz2.
bi3l: if you want access to the overlay for doing this font stuff pm me so we don't have to do double work (our ebuilds were nearly the same anyway)

devnull users: please rebuild cairo libXft and freetype, then revise your fontconfig settings and post here if you have any problems with the cleartype stuff.

edit: http://nico.core.ws/tmp/cleartype.png here is a screenshot so you can see what it looks like with this settings* - different but nice.
* different monitors render differently so it may be possible that you get other results. also you can't screenshot subpixel rendering.


Im new to all of this stuff, just whant to know... if i unmask cairo and build it with cleartype and restart X, i will get pretty font rendering? or also i need to configure something?
_________________
En los CDs de Microsoft, al reves escuchas un mensaje satanico. Eso no es lo peor, al derecho, te instala windows. 8O
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jan 09, 2009 8:04 am    Post subject: Reply with quote

You need to add devnull overlay, and install fontconfig freetype libXft and cairo from there, after that make sure you have the fontconfig module for eselect (eselect-fontconfig) and then adjust your settings with it. My configuration looks like: http://nico.core.ws/tmp/eselect_fontconfig_list You can play around with it until you are statisfied (like trying different hinting styles, autohint y/n, subpixel etc.)
Back to top
View user's profile Send private message
din_vl
n00b
n00b


Joined: 05 Jan 2009
Posts: 32

PostPosted: Fri Jan 09, 2009 10:07 am    Post subject: Reply with quote

ocin wrote:
You need to add devnull overlay, and install fontconfig freetype libXft and cairo from there, after that make sure you have the fontconfig module for eselect (eselect-fontconfig) and then adjust your settings with it. My configuration looks like: http://nico.core.ws/tmp/eselect_fontconfig_list You can play around with it until you are statisfied (like trying different hinting styles, autohint y/n, subpixel etc.)


Hi. I am new to gentoo.
I installed devnull overlay.
When i try to install fontconfig i get :

"Please rebuild freetype-2 with ubuntu enabled."

i can't find freetype-2 with emerge.
anyone can help?
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jan 09, 2009 11:21 am    Post subject: Reply with quote

din_vl wrote:
ocin wrote:
You need to add devnull overlay, and install fontconfig freetype libXft and cairo from there, after that make sure you have the fontconfig module for eselect (eselect-fontconfig) and then adjust your settings with it. My configuration looks like: http://nico.core.ws/tmp/eselect_fontconfig_list You can play around with it until you are statisfied (like trying different hinting styles, autohint y/n, subpixel etc.)


Hi. I am new to gentoo.
I installed devnull overlay.
When i try to install fontconfig i get :

"Please rebuild freetype-2 with ubuntu enabled."

i can't find freetype-2 with emerge.
anyone can help?

if you get this error you are not using freetype from devnull overlay. after adding devnull overlay, "emerge -auvDN @world" should do it.
Back to top
View user's profile Send private message
din_vl
n00b
n00b


Joined: 05 Jan 2009
Posts: 32

PostPosted: Fri Jan 09, 2009 12:25 pm    Post subject: Reply with quote

ocin wrote:
din_vl wrote:
ocin wrote:
You need to add devnull overlay, and install fontconfig freetype libXft and cairo from there, after that make sure you have the fontconfig module for eselect (eselect-fontconfig) and then adjust your settings with it. My configuration looks like: http://nico.core.ws/tmp/eselect_fontconfig_list You can play around with it until you are statisfied (like trying different hinting styles, autohint y/n, subpixel etc.)


Hi. I am new to gentoo.
I installed devnull overlay.
When i try to install fontconfig i get :

"Please rebuild freetype-2 with ubuntu enabled."

i can't find freetype-2 with emerge.
anyone can help?

if you get this error you are not using freetype from devnull overlay. after adding devnull overlay, "emerge -auvDN @world" should do it.



Thanks. Got it.
But, whats better upgrade only freetype (only what i need) or better upgrade all world?
Is it save to upgrade world? :roll:
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 434

PostPosted: Fri Jan 09, 2009 12:38 pm    Post subject: Reply with quote

Is there a new link to the how-to? I have dug through about 20 ish pages with no luck...
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
Cyberstudio
Apprentice
Apprentice


Joined: 17 Oct 2005
Posts: 237
Location: /usr/src/linux

PostPosted: Fri Jan 09, 2009 2:56 pm    Post subject: Reply with quote

I found this howto.

Will try to follow it and see what i can get.

http://linuxtidbits.wordpress.com/2008/11/25/better-lcd-font-rendering/
_________________
En los CDs de Microsoft, al reves escuchas un mensaje satanico. Eso no es lo peor, al derecho, te instala windows. 8O
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jan 09, 2009 3:24 pm    Post subject: Reply with quote

din_vl wrote:
ocin wrote:
din_vl wrote:
ocin wrote:
You need to add devnull overlay, and install fontconfig freetype libXft and cairo from there, after that make sure you have the fontconfig module for eselect (eselect-fontconfig) and then adjust your settings with it. My configuration looks like: http://nico.core.ws/tmp/eselect_fontconfig_list You can play around with it until you are statisfied (like trying different hinting styles, autohint y/n, subpixel etc.)


Hi. I am new to gentoo.
I installed devnull overlay.
When i try to install fontconfig i get :

"Please rebuild freetype-2 with ubuntu enabled."

i can't find freetype-2 with emerge.
anyone can help?

if you get this error you are not using freetype from devnull overlay. after adding devnull overlay, "emerge -auvDN @world" should do it.



Thanks. Got it.
But, whats better upgrade only freetype (only what i need) or better upgrade all world?
Is it save to upgrade world? :roll:

sure it's safe to update world. the newest packages are in world waiting for update after sync, however if you only want to rebuild or update one package which already is installed use "emerge -1 packagename"

@Cyberstudio: The howto you have posted is still valid.
Back to top
View user's profile Send private message
mwhitlock
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2006
Posts: 75
Location: Weare, NH

PostPosted: Sat Jan 10, 2009 2:57 am    Post subject: NewSPR versus ClearType-like Reply with quote

Since no one has posted a comparison, I'm stepping up.

http://home.mattwhitlock.com/~mattw/newspr_vs_cleartype-like.html

The two are very similar, but there are tiny differences. Personally, I like the newspr better (it looks a little sharper), but it's not a big enough difference for me to complain in the face of forward progress.
Back to top
View user's profile Send private message
zigver
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 87

PostPosted: Sun Jan 11, 2009 1:15 am    Post subject: Re: NewSPR versus ClearType-like Reply with quote

mwhitlock wrote:
Personally, I like the newspr better (it looks a little sharper), but it's not a big enough difference for me to complain in the face of forward progress.


I've compared with and without cleartype-like on my system and concluded the same.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Sun Jan 11, 2009 1:17 am    Post subject: Reply with quote

yeah, newspr is imho a bit better than cleartype too (btw: the screenshot does not exactly reflevt how it looks on the monitor) but since gentoo is using the cleartype patches it's easier to use that. Also nice to see how the font rendering is getting better and better with every update of the packages and or patches :)
Back to top
View user's profile Send private message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 434

PostPosted: Sun Jan 11, 2009 2:33 am    Post subject: Reply with quote

WELL I dont see any how-tos to make my shitti font any better...
_________________
Don't ever tell anybody anything. If you do, you start missing everybody.
Back to top
View user's profile Send private message
pezed
n00b
n00b


Joined: 16 Oct 2003
Posts: 31

PostPosted: Mon Jan 12, 2009 3:50 am    Post subject: Reply with quote

I've switched to the gentoo portage freetype and cairo and its just not as good as the newspr was. Spacing seems wrong and i'm seeing red fringing on letters. Hopefully it will improve though. Is there some reason why the "newspr" can't continue to be included on the devnull overlay?
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Mon Jan 12, 2009 8:04 am    Post subject: Reply with quote

pezed wrote:
I've switched to the gentoo portage freetype and cairo and its just not as good as the newspr was. Spacing seems wrong and i'm seeing red fringing on letters. Hopefully it will improve though. Is there some reason why the "newspr" can't continue to be included on the devnull overlay?

laziness + portage compability.


Last edited by ocin on Mon Jan 12, 2009 1:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1291
Location: Netherlands

PostPosted: Mon Jan 12, 2009 10:49 am    Post subject: Reply with quote

ROFL 8)
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Thu Jan 15, 2009 9:08 am    Post subject: Reply with quote

You always use ff to compare the fonts. But do other apps pickup your font settings? For example opera does not here. Neiter some native qt apps.

Any hint?

/edit: Not sure why, but it works now :)
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
mwhitlock
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2006
Posts: 75
Location: Weare, NH

PostPosted: Thu Jan 15, 2009 9:17 am    Post subject: Reply with quote

Phlogiston wrote:
You always use ff to compare the fonts. But do other apps pickup your font settings? For example opera does not here. Neiter some native qt apps. Any hint?

Qt doesn't use Cairo. And Qt4 doesn't even use libXft.
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Thu Jan 22, 2009 9:04 pm    Post subject: Reply with quote

I've updated the tarball with freetype 2.3.8 (gentoo-lcd-filtering.tar.bz2).
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 793

PostPosted: Sat Jan 24, 2009 8:35 pm    Post subject: Reply with quote

Personally I think cleartype is much worse, at least with light text on a dark background. I am using a dark theme and the light text looks multicolored instead of off-white. Text is much clearer when I turn cleartype off.
Back to top
View user's profile Send private message
IvanMajhen
Guru
Guru


Joined: 10 Jun 2006
Posts: 385
Location: Croatia

PostPosted: Sat Jan 31, 2009 12:21 am    Post subject: Reply with quote

This is how my fonts looks like:
Firefox:
http://www.shrani.si/f/1w/yZ/4zb7mX5x/snapshot12.png

Openoffice:
http://www.shrani.si/f/1f/CW/32Tq4tft/snapshot17.png

KDE 3.5.
http://www.shrani.si/f/1f/vD/4r07KWla/1/snapshot14.png

VLC (QT4)
http://www.shrani.si/f/1v/bY/4B8jsqwz/snapshot16.png

Opera (QT4)
http://www.shrani.si/f/3Q/Fz/DGuj1cL/snapshot18.png

Don't know why qt4 fonts are little lighter....
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sat Jan 31, 2009 1:07 am    Post subject: Reply with quote

IvanMajhen wrote:
Don't know why qt4 fonts are little lighter....

Probably because QT doesn't use the libraries these patches change to render fonts. At least that is what has been said (many times) earlier in this thread. :)

(and do you think it wise to advertise to the world that you are watching a pirated movie? ;))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4 ... 27, 28, 29  Next
Page 3 of 29

 
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