View previous topic :: View next topic |
Author |
Message |
IvanMajhen Guru
Joined: 10 Jun 2006 Posts: 392 Location: Croatia
|
Posted: Thu Feb 08, 2007 8:23 pm Post subject: |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
vicaya n00b
Joined: 26 Jun 2004 Posts: 57
|
Posted: Thu Feb 08, 2007 9:52 pm Post subject: |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Thu Feb 08, 2007 10:08 pm Post subject: |
|
|
2.3.1 is out in ~amd64, it looks a bit better than the previous 2.2* version. |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Thu Feb 08, 2007 10:35 pm Post subject: |
|
|
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 |
|
|
indanet n00b
Joined: 05 Sep 2004 Posts: 54
|
Posted: Fri Feb 09, 2007 1:27 pm Post subject: |
|
|
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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 09, 2007 1:35 pm Post subject: |
|
|
indanet wrote: | portage will always install the overlay's latest freetype version |
You're getting = and >= confused. |
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Sun Feb 11, 2007 10:56 am Post subject: This all freetype stuff |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Sun Feb 11, 2007 2:57 pm Post subject: |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Sun Feb 11, 2007 4:02 pm Post subject: |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Sun Feb 11, 2007 9:09 pm Post subject: |
|
|
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 |
|
|
Bartmanw n00b
Joined: 10 Dec 2003 Posts: 10
|
Posted: Mon Feb 12, 2007 4:06 pm Post subject: Only in KDE? |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Feb 12, 2007 4:26 pm Post subject: |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Mon Feb 12, 2007 4:27 pm Post subject: |
|
|
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 |
|
|
Bartmanw n00b
Joined: 10 Dec 2003 Posts: 10
|
Posted: Mon Feb 12, 2007 11:23 pm Post subject: |
|
|
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 |
|
|
Bartmanw n00b
Joined: 10 Dec 2003 Posts: 10
|
Posted: Tue Feb 13, 2007 3:06 pm Post subject: pango-view |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Tue Feb 13, 2007 9:29 pm Post subject: |
|
|
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 |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 2995 Location: Bay Area, CA
|
Posted: Tue Feb 13, 2007 10:37 pm Post subject: |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Tue Feb 13, 2007 11:44 pm Post subject: |
|
|
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 |
|
|
kamracik Apprentice
Joined: 01 Apr 2006 Posts: 219 Location: Poland->Lodz
|
Posted: Sat Feb 17, 2007 12:30 am Post subject: |
|
|
what should i write when layman ask me for a user and password?? |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Sat Feb 17, 2007 10:23 am Post subject: |
|
|
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 |
|
|
Bartmanw n00b
Joined: 10 Dec 2003 Posts: 10
|
Posted: Sat Feb 17, 2007 11:05 am Post subject: |
|
|
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 |
|
|
|