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 ... 9, 10, 11 ... 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
TuxTom
n00b
n00b


Joined: 04 Jan 2007
Posts: 57

PostPosted: Tue Jun 19, 2007 8:53 am    Post subject: Reply with quote

Hey folks,

I updated cairo to 1.4.8 with newspr patch, it was available from XEffects-overlay this morning. It really destroyed part of my font-rendering (no more window titles, just squares), checking the logs showed some pango-warning about bad shape (can't remember exactly). Tried all kind of solution that was available on the web, but could only resolve it by masking cairo-1.4.8 and downgrading again.

Just in case anyone stumbles upon this problem....

Greets, Tuxtom
Back to top
View user's profile Send private message
GoofyX
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2005
Posts: 84
Location: Greece

PostPosted: Tue Jun 19, 2007 8:56 am    Post subject: Reply with quote

Thanks for the info!

That explains why Firefox is really screwed up. I will immediately downgrade.
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Tue Jun 19, 2007 10:55 am    Post subject: Reply with quote

TuxTom wrote:
I updated cairo to 1.4.8 with newspr patch, it was available from XEffects-overlay this morning. It really destroyed part of my font-rendering (no more window titles, just squares), checking the logs showed some pango-warning about bad shape (can't remember exactly).

I had the same problem after I hand-modified this thread's patch to apply against 1.4.8. I guess something important changed in cairo-ft-font.c.

Try using the patch I mentioned earlier; it hasn't given me these problems.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Jun 19, 2007 11:32 pm    Post subject: Reply with quote

I was aware of problems with cairo-1.4.8 so I did not update it in xeffects for that very reason. Someone did it for me though. Please mask it for now.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Wed Jun 20, 2007 10:14 pm    Post subject: Reply with quote

Please take a look at Cairo 1.4.8 breaks pango and all gtk apps. because cairo 1.4.8 seems to break even without xeffects patches.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Thu Jun 21, 2007 12:53 am    Post subject: Reply with quote

Problem is fixed in xeffects overlay now.

I updated the patch. I must have missed something when I initially updated the patch for 1.4.8.

The patch posted earlier in this thread seems to work fine against 1.4.8, so I updated the overlay with that one.

Cheers.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
TuxTom
n00b
n00b


Joined: 04 Jan 2007
Posts: 57

PostPosted: Thu Jun 21, 2007 6:15 am    Post subject: Reply with quote

Can anyone confirm, that the new patch fixes the problem? As Vlad stated above, cairo-1.4.8 seems to be broken even without the old x-effects patch, so the new patch would have to fix it in addition to providing newspr...
Sorry, I haven't got the time for a test myself at the moment.

[EDIT] OK, just took myself the time to try and.... it seems to work!
Back to top
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Thu Jun 21, 2007 7:02 am    Post subject: Reply with quote

I can confirm, 1.4.8 cairo from xeffects now fixes it. Time to get newspr into portage :twisted:
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Jun 21, 2007 7:12 am    Post subject: Reply with quote

Hmm. Not working for me:

Code:
[09:09:15]|[tobi@tobi-rechner]|~
$emerge cairo libXft freetype -pv

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

Calculating dependencies... done!
[ebuild   R   ] x11-libs/cairo-1.4.8  USE="X glitz newspr opengl svg -debug -directfb -doc -xcb" 0 kB [3]
[ebuild   R   ] x11-libs/libXft-2.1.12  USE="newspr -debug" 0 kB [3]
[ebuild   R   ] media-libs/freetype-2.3.4-r2  USE="X zlib -bindist -debug -doc" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/portage/local/layman/nx
 [2] /usr/portage/local/layman/kde
 [3] /usr/portage/local/layman/xeffects
 [4] /usr/portage/local/layman/xeffects-experimental
 [5] /usr/local/portage


Code:
[09:10:42]|[tobi@tobi-rechner]|~
$cat .fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >     <const>rgb</const> </edit>
  <edit mode="assign" name="hinting" >  <bool>true</bool>  </edit>
  <edit mode="assign" name="antialias"> <bool>true</bool> </edit>
  <edit mode="assign" name="autohint" > <bool>false</bool> </edit>
  <edit mode="assign" name="hintstyle"> <const>hintfull</const> </edit>
 </match>
</fontconfig>


I tried to get it to work yesterday for the first time.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Thu Jun 21, 2007 7:30 am    Post subject: Reply with quote

How **recent** is your checkout? try "svn up /usr/portage/local/layman/xeffects". You should be at revision 655...
Back to top
View user's profile Send private message
Sappling
n00b
n00b


Joined: 10 Mar 2007
Posts: 18
Location: soil

PostPosted: Thu Jun 21, 2007 7:31 am    Post subject: Reply with quote

Wow, just wow. This is absolutely incredible it's as if I just added $500 to my monitor value, subpixel rendering is a must have.
_________________
A new beginning.
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Jun 21, 2007 7:35 am    Post subject: Reply with quote

Vlad.Sharp wrote:
How **recent** is your checkout? try "svn up /usr/portage/local/layman/xeffects". You should be at revision 655...


Code:
$layman -S
* Running command "/usr/bin/svn update "/usr/portage/local/layman/nx""...
At revision 178.
* Running command "/usr/bin/svn update "/usr/portage/local/layman/kde""...
At revision 1108.
* Running command "/usr/bin/svn update "/usr/portage/local/layman/xeffects""...
At revision 655.
* Running command "/usr/bin/svn update "/usr/portage/local/layman/xeffects-experimental""...
At revision 655.
*
* Success:
* ------
*
* Successfully synchronized overlay "nx".
* Successfully synchronized overlay "kde".
* Successfully synchronized overlay "xeffects".
* Successfully synchronized overlay "xeffects-experimental".


Seems at it is at 655. I also reinstalled cairo and libXft.

Quote:
subpixel rendering is a must have.


Do I have to enable subpixel in a different way?

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Thu Jun 21, 2007 8:34 am    Post subject: Reply with quote

Ok, now this is plain **weird**. I just copied some fonts from my windows box to a folder /usr/share/fonts/win (made readeable and put into xorg.conf) - restarted X - and now the rectangular boxes are back (and a warning about Tahoma, the usual Pango message...). If move the directory away (so that X doesn't know where it is) and restart X, the Gtk applications are back and rendering fonts as usual...

Edit: It seems it was a permissions and a fonts.dir issue. Needed to update font.dir by running mkfontdir and then adjusting permissions on the directory. But the symptoms were exactly the same... >_< Now that wasn't a cairo 1.4.8 issue :D
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Jun 21, 2007 3:55 pm    Post subject: Reply with quote

Code:
[17:53:26]|[tobi@tobi-rechner]|~
$firefox
No running windows found

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Oblique Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 7.5'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Courier New Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 6.75'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 12'
/usr/libexec/mozilla-launcher: line 119:  1796 Segmentation fault      $(type -P aoss) "$mozbin" "$@"
firefox-bin exited with non-zero status (139)


This is the result when I start firefox.

Code:
[18:38:59]|[tobi@tobi-rechner]|~
$grep rend /var/log/Xorg.0.log
        X.Org Font Renderer : 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) Initializing built-in extension RENDER


Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Thu Jun 21, 2007 6:10 pm    Post subject: Reply with quote

Finswimmer wrote:
Code:
[17:53:26]|[tobi@tobi-rechner]|~
$firefox
No running windows found

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Oblique Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 7.5'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Courier New Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 6.75'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 12'
/usr/libexec/mozilla-launcher: line 119:  1796 Segmentation fault      $(type -P aoss) "$mozbin" "$@"
firefox-bin exited with non-zero status (139)


This is the result when I start firefox.

Code:
[18:38:59]|[tobi@tobi-rechner]|~
$grep rend /var/log/Xorg.0.log
        X.Org Font Renderer : 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) Initializing built-in extension RENDER


Tobi


Your problem sounds just like other users, however, if you have the update cairo + patch from the overlay, the problem is fixed. So, I am unsure why you are seeing this.

You may want to try and re-emerge pango and gtk+ (emerge -1v pango gtk+).

Did this happen with cairo 1.4.6? Did you only recently start using the newspr use flag and the xeffects overlay, or have you had this newspr previously working under cairo 1.4.6?
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Thu Jun 21, 2007 8:33 pm    Post subject: Reply with quote

Fixed for me.
_________________
Gentoo: the only software worth paying that is free.
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Fri Jun 22, 2007 6:40 am    Post subject: Reply with quote

roderick wrote:
Finswimmer wrote:
Code:
[17:53:26]|[tobi@tobi-rechner]|~
$firefox
No running windows found

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Oblique Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 7.5'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Courier New Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 6.75'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 12'
/usr/libexec/mozilla-launcher: line 119:  1796 Segmentation fault      $(type -P aoss) "$mozbin" "$@"
firefox-bin exited with non-zero status (139)


This is the result when I start firefox.

Code:
[18:38:59]|[tobi@tobi-rechner]|~
$grep rend /var/log/Xorg.0.log
        X.Org Font Renderer : 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) Initializing built-in extension RENDER


Tobi


Your problem sounds just like other users, however, if you have the update cairo + patch from the overlay, the problem is fixed. So, I am unsure why you are seeing this.

You may want to try and re-emerge pango and gtk+ (emerge -1v pango gtk+).

Did this happen with cairo 1.4.6? Did you only recently start using the newspr use flag and the xeffects overlay, or have you had this newspr previously working under cairo 1.4.6?


emerge -1v pango gtk+ did not help.
I started recently to use the newspr use flag.
I also re-emerged gnucash which also has problems with the fonts, but it did not helped.

revdep-rebuild does not report any errors.

Thanks

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
GoofyX
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2005
Posts: 84
Location: Greece

PostPosted: Fri Jun 22, 2007 3:15 pm    Post subject: Reply with quote

Layman reports error:

Code:
*
* Errors:
* ------
*
* Failed to sync overlay "xeffects".
* Error was: Syncing overlay "xeffects" returned status 256!
*

_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Fri Jun 22, 2007 4:28 pm    Post subject: Reply with quote

GoofyX wrote:
Layman reports error:

Code:
*
* Errors:
* ------
*
* Failed to sync overlay "xeffects".
* Error was: Syncing overlay "xeffects" returned status 256!
*


layman -d xeffects
layman -a xeffects
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
GoofyX
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2005
Posts: 84
Location: Greece

PostPosted: Fri Jun 22, 2007 4:33 pm    Post subject: Reply with quote

Thanks.
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sat Jun 23, 2007 10:25 am    Post subject: Reply with quote

Finswimmer wrote:
roderick wrote:
Finswimmer wrote:
Code:
[17:53:26]|[tobi@tobi-rechner]|~
$firefox
No running windows found

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans Oblique Not-Rotated 9.9990234375'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 7.5'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Bold Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 9'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Courier New Not-Rotated 8.25'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 6.75'

(Gecko:1796): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Verdana Not-Rotated 12'
/usr/libexec/mozilla-launcher: line 119:  1796 Segmentation fault      $(type -P aoss) "$mozbin" "$@"
firefox-bin exited with non-zero status (139)


This is the result when I start firefox.

Code:
[18:38:59]|[tobi@tobi-rechner]|~
$grep rend /var/log/Xorg.0.log
        X.Org Font Renderer : 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) Initializing built-in extension RENDER


Tobi


Your problem sounds just like other users, however, if you have the update cairo + patch from the overlay, the problem is fixed. So, I am unsure why you are seeing this.

You may want to try and re-emerge pango and gtk+ (emerge -1v pango gtk+).

Did this happen with cairo 1.4.6? Did you only recently start using the newspr use flag and the xeffects overlay, or have you had this newspr previously working under cairo 1.4.6?


emerge -1v pango gtk+ did not help.
I started recently to use the newspr use flag.
I also re-emerged gnucash which also has problems with the fonts, but it did not helped.

revdep-rebuild does not report any errors.

Thanks

Tobi


Everything is fine now. Just had to re-emerge cairo though I thought I had done this. But it was not... :/
But I can not see any real difference?

Thanks
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Sat Jun 23, 2007 10:41 am    Post subject: Reply with quote

In DE's like Gnome, Xfce or KDE, find the control panel option for User Interface/Fonts (or similar), and then turn on subpixel rendering (on LCD monitors) and full hinting at 96x96 DPI (for LCD and Laptop screens again). The order of colours you want is usually RGB. That should fix it.
Back to top
View user's profile Send private message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Sun Jun 24, 2007 4:23 pm    Post subject: Reply with quote

Thanks alot, Dear Finswimmer!
Code:
layman -d xeffects
layman -a xeffects

... now "emerge -S xeffects" works again!
_________________
Greetings from Vienna
Back to top
View user's profile Send private message
xcable
Guru
Guru


Joined: 15 Aug 2002
Posts: 424
Location: College Station, Texas

PostPosted: Sun Jun 24, 2007 7:24 pm    Post subject: Reply with quote

Excellet!!

The font rendering is much better. I was quite annoyed by the fact that Windows XP looks better on my new LCD screen than Linux does, but now Linux's fonts are as good or better than Windows XP. This is a must have for anyone that is using a LCD with lower than 96 native DPI (most are).

Does anyone know when these programs are going to unmasked?

--
heath holcomb
bulah.com
Back to top
View user's profile Send private message
Da Fox
Guru
Guru


Joined: 06 Jul 2005
Posts: 341

PostPosted: Sat Jun 30, 2007 2:08 pm    Post subject: Reply with quote

I'm sorry but I just can't get it to work right in kde. Bit of background: I used to have great font rendering in gnome, but I recently b0rked my install and decided to try kde for a change.
However I still haven't been able to get proper anti-aliasing working.
I have an IBM T42 laptop, which has a 15", 1400x1050 laptop screen. I measured the panel at ~304x228mm, and I think this means the DPI of this screen is 117 (1400/(304/25.4) = 116.9736842).

I think I have it almost working in GTK apps though, as it looks really nice in firefox (aside from the fonts being to large/small because of DPI (I think). Is there anyway to set the fonts for GTK apps from kde, or is there some config file I haven't found yet?)
To illustrate the problem (since I can't really describe it well) I made this screenshot. (left: firefox, right: kcontrol)
The best I can describe it is that the letters are rendered off-pixel-center... the 'stalk' from the 'd' is smeared across 3(!) pixels in KDE, whereas firefox perfectly renders it one pixel wide.
I've been playing with the settings in "KDE Control Center" -> "Fonts" -> "Use anti-aliasing for fonts", but I just can't get it right. As far as I can tell all that those settings do is change some things in ~/.fonts.conf, which I've set to the settings posted in the wiki.

Any help would be truly appreciated, my eyes are starting to hurt from the blurry fuglyness of kde ;(

--edit:
I found this 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

My cairo looks excellent (like firefox in my screenshot) whereas xft looks fugly (like kcontrol in my screenshot). I'm going to run the stated command now, and hope that fixes something. (or at least not break cairo :0)

--edit:
So far it hasn't helped, I'm currently
Code:
emerge -1pvt app-text/poppler-bindings dev-python/pycairo gnome-base/librsvg x11-libs/gtk+ x11-libs/pango virtual/xft x11-apps/xclock x11-libs/pango x11-terms/xterm app-text/poppler gnome-base/librsvg kde-base/kcontrol media-gfx/fontforge media-libs/fontconfig media-libs/gd media-libs/imlib2 media-libs/libwmf x11-apps/mkfontscale x11-libs/cairo x11-libs/libXfont x11-libs/libXft x11-libs/pango x11-libs/qt x11-libs/qt
pretty much everything that depends on cairo, libXft or freetype. We'll see if that helps :)

--edit:
Well, it hasn't helped. From what I've read the output from pango-view with the cairo backend should be identical to the output with the xft backend but it isn't. Same difference as in the screenshot :(
Please help, I can't take the blur anymore !
_________________
"Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami

JGBE, a Java based GameBoy Emulator
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 ... 9, 10, 11 ... 28, 29, 30  Next
Page 10 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