Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freetype-2.3.2 font rendering glitches
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sun Mar 11, 2007 10:02 am    Post subject: freetype-2.3.2 font rendering glitches Reply with quote

Hi all,

on my ~x86 Gentoo installation portage updated my freetype-2.3.1 to freetype-2.3.2 yesterday. Except for the world update, I didn't change anything else about my configuration. Now after a reboot, I'm seeing all sorts of font rendering errors. Here are two screenshots of a web page rendered by Firefox so you get the picture:

http://666kb.com/i/amj1gs4swusnz7ofs.jpg
http://666kb.com/i/amj20dveeaqvvgtx4.jpg

Both show the same webpage (http://www.guidetojapanese.org/), in the second one I changed the font size using CTRL+Mousewheel. The rendering glitches look different for every font size. Not all text is affected (as you can see on the screenshot, 'Summary' and 'Table of Contents' looks fine), I don't know why.

Anyone else have this issue?

Regards
frostschutz
Back to top
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 149
Location: Edinburgh, Scotland

PostPosted: Sun Mar 11, 2007 10:25 am    Post subject: Reply with quote

Yes, the same occurs for me when I test that web page but I haven't seen any problems with any other web pages.

Checking the HTML source shows that it is the rendering of the Luxi Sans font, as selected by the stylesheet, that is the problem. This is probably something that should be reported to the Freetype folk to investigate.
_________________
Alan.
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Sun Mar 11, 2007 12:36 pm    Post subject: Reply with quote

It's fine* for me, but I'm not using anti-aliasing or autohinting. Perhaps turn off autohinting?

*I say "fine" because Luxi Sans looks terrible without anti-aliasing. But that's to be expected for some fonts.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sun Mar 11, 2007 12:56 pm    Post subject: Reply with quote

Thanks for the suggestion. I turned off autohinting (by setting Firefox about:config FreeType2.autohinting to false and restarting Firefox, I hope that is sufficient). The problem persists. Firefox doesn't offer an antialiasing switch, it's probably in the xorg.conf. I'll meddle with that later.
Back to top
View user's profile Send private message
morbid
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2003
Posts: 90

PostPosted: Mon Mar 12, 2007 7:18 am    Post subject: Reply with quote

It not only affects firefox, but any package that uses freetype. IBM Workplace Managed Client (yes, I run ~x86 on my work laptop) also displays the messed up fonts. I downgraded to freetype-2.3.1 and everything is good.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


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

PostPosted: Mon Mar 12, 2007 12:18 pm    Post subject: Reply with quote

FWIW, the page renders perfectly on my system using
freetype-2.3.2 with autohinting off and antialiasing on.
I had followed the guide found here:
https://forums.gentoo.org/viewtopic-t-511382-highlight-.html
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Mon Mar 12, 2007 9:58 pm    Post subject: Reply with quote

albright wrote:
FWIW, the page renders perfectly on my system using
freetype-2.3.2 with autohinting off and antialiasing on.
I had followed the guide found here:
https://forums.gentoo.org/viewtopic-t-511382-highlight-.html


Thanks for the suggestion, just followed this guide. However, the problem persists.
Does your Firefox allow pages to choose their own fonts, and do you have Luxi Sans fonts installed?
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Mon Mar 12, 2007 11:42 pm    Post subject: Reply with quote

Just curious...

Why not just use the latest Gentoo stable freetype-2.1.10-r2?
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Mar 13, 2007 1:47 am    Post subject: Reply with quote

You could just as well ask 'Why update at all?' :roll:

I use ~x86 Gentoo because the stable x86 Gentoo had other issues for me. It works flawlessly most of the time.

Of course, when a problem arises with a new version of a package, you can probably always fix it by downgrading. This isn't what this thread is about, though. I was merely curious wether other people are seeing this behaviour as well and wether anyone found a way to fix this problem for the 2.3.2 version of freetype yet or not.

Somebody has to start using new software, otherwise issues will never get discovered and it will never get stable, resulting in no progress at all. :-) ~x86 Gentoo is still far away from 'bleeding edge'.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


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

PostPosted: Tue Mar 13, 2007 2:09 am    Post subject: Reply with quote

Quote:
Does your Firefox allow pages to choose their own fonts, and do you have Luxi Sans fonts installed?


For me, either forcing firefox to use my selected fonts (my preference) or
letting the web page select fonts, the Japanese language page loads
and displays properly. And yes, I have Luxi Sans ... very weird problem
Back to top
View user's profile Send private message
hephooey
n00b
n00b


Joined: 24 Feb 2003
Posts: 74

PostPosted: Tue Mar 13, 2007 2:15 am    Post subject: Reply with quote

Werner LEMBERG just sent a letter to ft-devel maillist claiming that 2.3.2 has a serious regression in the TrueType handling, and 2.3.3 is coming soon ;)
Back to top
View user's profile Send private message
loki_val
Retired Dev
Retired Dev


Joined: 13 Nov 2006
Posts: 418
Location: Denmark

PostPosted: Mon Mar 19, 2007 8:36 pm    Post subject: Reply with quote

Just posted fix for this in bug 170532. Ripped from upstream cvs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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