Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]New freetype subpixel font rendering for lcd monitors
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
IvanMajhen
Guru
Guru


Joined: 10 Jun 2006
Posts: 385
Location: Croatia

PostPosted: Thu Feb 08, 2007 8:23 pm    Post subject: Reply with quote

My fonts looks great now!
But I have problem with openoffice. They doesn't look like in kde or gtk. Like they aren't fully hinted or something.
I have checked use system fonts in options --> view, but they don't look like they should.
Openoffice is compiled, with binary looked even worse.
Is there any patch for ooffice?
http://shrani.si/files/snapshot2sw56.png
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Thu Feb 08, 2007 8:28 pm    Post subject: Reply with quote

Yeah, OpenOffice looks pretty bad compared to what can be done with this new freetype rendering mode. Unfortunately I'm not aware of any patch to remedy that.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
vicaya
n00b
n00b


Joined: 26 Jun 2004
Posts: 57

PostPosted: Thu Feb 08, 2007 9:52 pm    Post subject: Reply with quote

freetype 2.2.1-r1 got unmasked in portage, accidentally upgraded. Disatrous results in kde, the arial font is badly rendered, smaller, blurrier, fatter, so does bitstream vera sans mono. Just awful. Looks fine in firefox-bin (probably different set of libs)

reverting back to 2.1.10-r2 solved the font problems.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Thu Feb 08, 2007 10:08 pm    Post subject: Reply with quote

2.3.1 is out in ~amd64, it looks a bit better than the previous 2.2* version.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Thu Feb 08, 2007 10:35 pm    Post subject: Reply with quote

I'm a bit puzzled about last two posts. Were they merged from another topic? They don't fit here at all :)

BTW You can use freetype-2.3.1 from portage with this guide as well. Just remember not to enable bindist useflag and you are all set (you will still need cairo and libXft from overlay though).
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
indanet
n00b
n00b


Joined: 05 Sep 2004
Posts: 54

PostPosted: Fri Feb 09, 2007 1:27 pm    Post subject: Reply with quote

Hi!

I want to use freetype 2.3.1 from portage. Is there a better way than putting "=media-libs/freetype-2.3.1" in portage.keywords? The next time freetype is upgraded in portage and freetype-2.3.1 is removed, it will try to downgrade to the then stable version. If I put "media-libs/freetype" in portage.keywords, portage will always install the overlay's latest freetype version...

I need a way to say "unmask this package only for the portage repository".

Regards
indanet

EDIT: Fixed typos which made the whole post useless, thanks Paul!


Last edited by indanet on Fri Feb 09, 2007 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 09, 2007 1:35 pm    Post subject: Reply with quote

indanet wrote:
portage will always install the overlay's latest freetype version

You're getting = and >= confused.
Back to top
View user's profile Send private message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Kraków, Poland

PostPosted: Sun Feb 11, 2007 10:56 am    Post subject: This all freetype stuff Reply with quote

I tell you what. It seems that all the things you are talking here is totally dependent on what is "good" or "bad" for individual person.
I have tested all possible combinations (filter_default, *_legacy *_light X hintmedium, *full, *slight) and all of this sucks a lot.
The best fonts I have are with freetype-2.1. The color (how much black black color is), the bold fonts (bold is bold, not totally bold, and regular is regular not bold as it is with some fonts), the hinting (no blue colors on the edge of some fonts, on webpages, for example the best test was documentation for fontconfig in html format that we all have in /usr/share/doc/fontconfig-**/html), the spacing of the letters (the freetype makes lots of fonts to have too big letter spacing.)
So in my opinion, freetype-2.1 is great. The two next versions sucks.

Best Regards,
m.s.w
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Feb 11, 2007 11:27 am    Post subject: Reply with quote

Here is my version. Could you please post yours?
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Kraków, Poland

PostPosted: Sun Feb 11, 2007 2:57 pm    Post subject: Reply with quote

http://mkm-online.homelinux.org/linux/freetype-2.1_hintfull.jpg

To jest najlepszy widok ze wszystkich przetestowanych.
freetype-2.1
hintfull

EDIT: Sorry about the language. It was not intentional :)
Translation:
This is the best look among all tested.

Pozdrawiam,
m.s.w
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"


Last edited by m.s.w on Sun Feb 11, 2007 3:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Feb 11, 2007 3:34 pm    Post subject: Reply with quote

https://boniek.homelinux.org/~boniek/desktop/Screenshot-fonts-conf.png

Font size simialiar to yours. Bold fonts are bit bolder, spacing seems the same. IMO it looks really good (well bold fonts are too bold obviously, but it doesn't concern me as much). I like your screenshot too. It's different but nice nonetheless. Use whatever suits your taste :)

PS. please write in english - this is english forum.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Kraków, Poland

PostPosted: Sun Feb 11, 2007 4:02 pm    Post subject: Reply with quote

OK, I have to agree, that your screen is better. But the problem is that I culdn't get my fonts look like your screens shows. So obviously there has to be something that this mini HOWTO doesn't cover, but is cuicial for the fonts to work good.
I don't know what is it. In the mean time - as you said - I use whatever suits best.

Regards,
m.s.w
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Feb 11, 2007 9:09 pm    Post subject: Reply with quote

I have just simplified guide as much as possible (well at least I think so ;) ). I corrected .fonts.conf - it was WRONG before. We have to set autohinting to FALSE to use BCI (and we want to use it ;) ). For people that couldn't get it to work - please try new guide and report back any problems.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
Bartmanw
n00b
n00b


Joined: 10 Dec 2003
Posts: 10

PostPosted: Mon Feb 12, 2007 4:06 pm    Post subject: Only in KDE? Reply with quote

After a recent re-emerge of many packages (such as upgrade to Xorg 7), my fonts were not anti-aliased. I applied this guide, and then the fonts were good only in some applications, in particular the KDE ones. This is a screenshot of Firefox (left) and Konqueror (right). As you can see, the fonts in Firefox are not anti-aliased at all. Any idea what causes this difference? Are there any other packages which I should re-emerge apart from the 3 mentioned?

http://cage.ugent.be/~jdemeyer/badfonts.png
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2099
Location: Near Toronto

PostPosted: Mon Feb 12, 2007 4:26 pm    Post subject: Reply with quote

Quote:
As you can see, the fonts in Firefox are not anti-aliased at all


To be honest, I think your problem is with your font settings in
firefox preferences. Tell it to use bitstream vera sans and tell firefox
*not* to let web pages choose their own fonts. That worked for
me anyway.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Mon Feb 12, 2007 4:27 pm    Post subject: Reply with quote

Try forcing fonts in firefox to something else (Edit/Preferences/Content/Advanced/Fonts for Western/) e.g. serif/Verdana/Verdana/Bitstream Vera Sans Mono and uncheck "Allow pages to choose their own fonts". See if that helps.

EDIT: albright was faster :)
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
Bartmanw
n00b
n00b


Joined: 10 Dec 2003
Posts: 10

PostPosted: Mon Feb 12, 2007 11:23 pm    Post subject: Reply with quote

albright wrote:
To be honest, I think your problem is with your font settings in
firefox preferences. Tell it to use bitstream vera sans and tell firefox
*not* to let web pages choose their own fonts. That worked for
me anyway.


I tried that, but that didn't fix it. The font changed, but it's still aliased. By the way, the bad fonts are not just in firefox. They are basically like that in every application except for the KDE ones (in KDE the fonts *do* look very good indeed).

Note that some packages on my system might be outdated, so it could very well be that I have to update a particular package. I would just like to avoid "emerge -uD world" unless necessary.
Back to top
View user's profile Send private message
Bartmanw
n00b
n00b


Joined: 10 Dec 2003
Posts: 10

PostPosted: Tue Feb 13, 2007 3:06 pm    Post subject: pango-view Reply with quote

While playing around and trying some things, I discovered the pango-view program. I displayed the text "Hello World" with 4 different backends. This is the result:

http://cage.ugent.be/~jdemeyer/pango-view.png
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Feb 13, 2007 9:29 pm    Post subject: Reply with quote

Your screenshot should look like [this] - xft and cairo should look identical. Please post result of running following command:
Code:
emerge -pv x11-libs/cairo x11-libs/libXft media-libs/freetype

_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2734
Location: Bay Area, CA

PostPosted: Tue Feb 13, 2007 10:37 pm    Post subject: Reply with quote

is it possible to set a system wide backend? I am seeing colored characters in my firefox text and pango-view text if I use xft backend. The cairo backend is the sharpest and that's what I want to use. How do I do that?
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Feb 13, 2007 11:44 pm    Post subject: Reply with quote

Again xft and cairo should look identical as provided in screenshot in my previous post. They should look identical if both cairo and libXft were emerged with newspr use flag. Unfortunately it is not possible to set system wide backend (it all depends on a way application was coded). Closest to what you have in mind is to use DE such as Gnome and only use apps that are written using libs provided by that particular DE.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
kamracik
Apprentice
Apprentice


Joined: 01 Apr 2006
Posts: 219
Location: Poland->Lodz

PostPosted: Sat Feb 17, 2007 12:30 am    Post subject: Reply with quote

what should i write when layman ask me for a user and password??
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sat Feb 17, 2007 2:37 am    Post subject: Reply with quote

Currently xeffects overlay is unavailable. Please be patient.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Kraków, Poland

PostPosted: Sat Feb 17, 2007 10:23 am    Post subject: Reply with quote

boniek wrote:
We have to set autohinting to FALSE to use BCI (and we want to use it ;) ). For people that couldn't get it to work - please try new guide and report back any problems.


OK, That was it - autohint=false.
And now, everything is nice.

Thank you.
m.s.w
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
Bartmanw
n00b
n00b


Joined: 10 Dec 2003
Posts: 10

PostPosted: Sat Feb 17, 2007 11:05 am    Post subject: Reply with quote

boniek wrote:
Your screenshot should look like [this] - xft and cairo should look identical. Please post result of running following command:
Code:
emerge -pv x11-libs/cairo x11-libs/libXft media-libs/freetype


Here it is:

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/cairo-1.3.12  USE="X newspr -debug -directfb -doc -glitz -svg -xcb" 0 kB [1]
[ebuild   R   ] x11-libs/libXft-2.1.12  USE="newspr -debug" 0 kB [1]
[ebuild   R   ] media-libs/freetype-2.3.1_p20070207  USE="filter_default zlib -bindist -demos -doc -filter_legacy -filter_light" 0 kB [1]

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/portage/local/layman/xeffects
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 28, 29, 30  Next
Page 5 of 30

 
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