Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freetype update -> fonts ugly
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Horus107
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 230

PostPosted: Tue May 08, 2007 6:04 pm    Post subject: freetype update -> fonts ugly Reply with quote

Hello,
I've done the recent freetype update (on version 2.3.3) and now some types of fonts log significantly worse than before. Sme letters have something like a red shadow (look at http://xgm.de/staticfiles/freetype.png) furthermore the bold standard font looks rather like Comic Sans MS. (rounded corners)

I use KDE 3.5.5 with Bitstream Vera Sans 12 as standard font. Anti Aliasing is enabled with Sub-Pixel Hinting RGB enables. Hinting style is medium. My screen is a TFT.

Any ideas? Recommandation for other fonts that look good a a screen?

Thanks,

Florian
Back to top
View user's profile Send private message
dopey
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 235

PostPosted: Tue May 08, 2007 6:37 pm    Post subject: Reply with quote

i noticed that fonts for my GTK apps got bigger and are less well defined. Fonts in KDE are a little off like yours too.

I'm running amd64 and have both 64-bit and 32-bit firefox (with 32-bit and 64-bit freetype libraries built) and the 32-bit freetype libraries are still the older version from the emul-linux package and so 32-bit firefox still looks good, but 64-bit firefox looks horrid.
Back to top
View user's profile Send private message
ollonois
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 130
Location: Germany

PostPosted: Tue May 08, 2007 6:46 pm    Post subject: Reply with quote

Same problem here after a freetype update.
Some letters seem to be yellow or blue at the edges. It is very hard so read long texts now.
Back to top
View user's profile Send private message
dopey
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 235

PostPosted: Tue May 08, 2007 6:53 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=173804

Comment #3. purge ~/.font* /etc/font* and re-emerge fontconfig and freetype (not sure if freetype needs to be re-emerged).

Also, it looks like the "bindist" USE flat disables the TT bytecode interpreter now rather than enables it like it used to.

if ! use bindist; then
# Bytecodes and subpixel hinting supports are patented
# in United States; for safety, disable them while building
# binaries, so that no risky code is distributed.
# See http://freetype.org/patents.html

enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
fi

from the ebuild.

if ! use bindist, then enable the interpreter. That might be some of the problem.
Back to top
View user's profile Send private message
Horus107
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 230

PostPosted: Tue May 08, 2007 7:01 pm    Post subject: Reply with quote

So should the bindist USE flag be enabled or disabled while building freetype? I'm not sure if I understood you correctly?
Back to top
View user's profile Send private message
dopey
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 235

PostPosted: Tue May 08, 2007 7:07 pm    Post subject: Reply with quote

Previous freetype ebuild:
use bindist || append-flags -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER

In the past bindist is enabled for the bytecode interpreter, but now it looks like you want to disable it.
I purged and recreated my .font* files and re-emerged fontconfig and freetype, and it looks better but it's still slightly off without bindist enabled for freetype. With bindist it looks hideous :).

In the past it was the opposite.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue May 08, 2007 7:11 pm    Post subject: Reply with quote

See xeffects overlay, if you want gorgeous fonts :wink:
Back to top
View user's profile Send private message
Horus107
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 230

PostPosted: Tue May 08, 2007 7:23 pm    Post subject: Reply with quote

I've tried it with bindist set and bindist unset and don't notice a real difference or improvement, it's still worse than it was before.
Back to top
View user's profile Send private message
downey
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2004
Posts: 107
Location: Calgary, Canada

PostPosted: Tue May 08, 2007 7:44 pm    Post subject: Reply with quote

Definitely rm -rf /etc/fonts/ and all the ~/.font directories and files. Then reemerge fontconfig. My fonts were bolded and incorrect before I did that and now they are back to normal. I had to go into Settings->Appearance and Themes->Fonts under KDE and set the sub-pixel hinting to RGB and set the hinting to full again. I believe there is a similar setting under Gnome.

Hope that helps.
Back to top
View user's profile Send private message
Erlend
Guru
Guru


Joined: 26 Dec 2004
Posts: 493

PostPosted: Tue May 08, 2007 8:30 pm    Post subject: Reply with quote

Quote:
https://bugs.gentoo.org/show_bug.cgi?id=173804

Comment #3. purge ~/.font* /etc/font* and re-emerge fontconfig and freetype (not sure if freetype needs to be re-emerged).


Should that not be in the einfo for freetype?
_________________
Thunar-thumbnailers
Raw-thumbnailer
http://brainstorm.ubuntu.com/idea/6878/image/1/
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Tue May 08, 2007 8:40 pm    Post subject: Re: freetype update -> fonts ugly Reply with quote

Horus107 wrote:
Hello,
I've done the recent freetype update (on version 2.3.3) and now some types of fonts log significantly worse than before. Sme letters have something like a red shadow (look at http://xgm.de/staticfiles/freetype.png) furthermore the bold standard font looks rather like Comic Sans MS. (rounded corners)

I use KDE 3.5.5 with Bitstream Vera Sans 12 as standard font. Anti Aliasing is enabled with Sub-Pixel Hinting RGB enables. Hinting style is medium. My screen is a TFT.

Any ideas? Recommandation for other fonts that look good a a screen?

Thanks,

Florian


I have same problem

this:

Code:
 Comment #3. purge ~/.font* /etc/font* and re-emerge fontconfig and freetype (not sure if freetype needs to be re-emerged).


not solve for me

:(
Back to top
View user's profile Send private message
RiBBiT
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 215
Location: Sweden

PostPosted: Tue May 08, 2007 8:55 pm    Post subject: Reply with quote

I fixed it for me by switching from "Best Shapes" to "Best Contrast" in the GNOME Font Preferences.
_________________
Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ]
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Tue May 08, 2007 9:16 pm    Post subject: Reply with quote

RiBBiT wrote:
I fixed it for me by switching from "Best Shapes" to "Best Contrast" in the GNOME Font Preferences.


mmm, I use KDE 3.5.5...
Back to top
View user's profile Send private message
Horus107
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 230

PostPosted: Tue May 08, 2007 9:23 pm    Post subject: Reply with quote

It's a little bit better with the hints above and hinting set to Full on KDE. The overall experience is event better than it was before, only the bold fonts still look ugly.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue May 08, 2007 9:36 pm    Post subject: Reply with quote

Horus107 wrote:
the bold fonts still look ugly.

Well, read the thread I pointed at.
Code:
    <!-- Disable hinting for bold fonts -->
    <match target="font">
        <test name="weight" compare="more"><const>medium</const></test>
        <edit name="autohint" mode="assign"><bool>false</bool></edit>
        <edit name="hinting" mode="assign"><bool>false</bool></edit>
    </match>
Back to top
View user's profile Send private message
c_t
n00b
n00b


Joined: 29 Oct 2003
Posts: 36
Location: Berlin, Germany

PostPosted: Wed May 09, 2007 4:05 pm    Post subject: Reply with quote

I had the same problems after upgrading to freetype-2.3.3 .

Purging the .font* files, re-emerging fontconfig & freetype and setting hinting to "RGB" and hinting style to "full" in kde-3.5.5 control-center made everything look at least as nice as before!

Thanks!
Back to top
View user's profile Send private message
Quincy
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 203
Location: Germany

PostPosted: Wed May 09, 2007 10:29 pm    Post subject: Reply with quote

My problem is not at all that it looks different, but programs like Open Office change their line length --> different document structure! I already reemerged freetype and fontconfig, but it stays the same under my KDE (fonts are smaller and kind of blurred). Does anybody have a similar problem?
Back to top
View user's profile Send private message
KozmoNaut
Apprentice
Apprentice


Joined: 09 Dec 2002
Posts: 168
Location: Denmark

PostPosted: Thu May 10, 2007 2:38 pm    Post subject: Reply with quote

It's b0rked here as well...

I used subpixel hinting and hinting set to "slight" in KDE before, but after emerging freetype-2.3.3 it messed up my fonts.

I deleted /etc/fonts/*, re-emerged fontconfig and freetype and it still looked like hell.

Right now I have freetype emerged with the bindist useflag on and hinting set to "full" in KDE, yet it's still nowhere near as nice as it was before.


EDIT: Ha! It's fixed now!

I re-emerged freetype with the bindist useflag off again and changed this in my /etc/fonts/local.conf (I had it set to true before):

Code:

        <match target="font">
                <edit name="autohint" mode="assign"><bool>false</bool></edit>
        </match>


In addition to the bit that enables subpixel hinting.
_________________
War. War never changes.
Back to top
View user's profile Send private message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Sat May 12, 2007 5:55 pm    Post subject: Reply with quote

same problem here.
disabling autohinting solved this problem but without autohinting the fonts look ugly too
_________________
Build your own live cd with catalyst 2.0!
Back to top
View user's profile Send private message
oober
n00b
n00b


Joined: 28 Apr 2005
Posts: 39
Location: South Africa, Bloemfontein

PostPosted: Mon May 14, 2007 8:10 am    Post subject: Reply with quote

I just went back to an earlier version of freetype. Looks much better. I hope they get this problem sorted out soon.
Back to top
View user's profile Send private message
beijingjj
Apprentice
Apprentice


Joined: 01 Jul 2006
Posts: 212

PostPosted: Mon May 14, 2007 11:10 am    Post subject: Reply with quote

oober wrote:
I just went back to an earlier version of freetype. Looks much better. I hope they get this problem sorted out soon.

Could you tell me how to determine which older versions are available and how to downgrade? I think you have to put something in one of the /etc/portage files but I've never been quite sure.
Back to top
View user's profile Send private message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Mon May 14, 2007 12:30 pm    Post subject: Reply with quote

in the current portage tree these versions are available:
Code:
# eix media-libs/freetype
[I] media-libs/freetype
     Available versions:
        (1)     1.3.1-r4 1.3.1-r5
        (2)     2.1.9-r1 2.1.10-r2 2.1.10-r3 2.3.3 ~2.3.4-r1

You can mask one version in this way:
Code:

mkdir -p /etc/portage/package.mask/
echo '=media-libs/freetype-2.3.3' >> /etc/portage/package.mask/freetype

_________________
Build your own live cd with catalyst 2.0!
Back to top
View user's profile Send private message
armin
n00b
n00b


Joined: 20 Jun 2002
Posts: 46

PostPosted: Mon May 14, 2007 7:16 pm    Post subject: Reply with quote

purging and reemerging did not work for me.

so i switched back to old freetype again.

until this mess is fixed.
Back to top
View user's profile Send private message
Quincy
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 203
Location: Germany

PostPosted: Mon May 14, 2007 10:36 pm    Post subject: Reply with quote

The interesting point is: I have four machines with quite the same software configuration, but two of them look ugly now and two don't, but i can't find the difference. Has this something to do with the graphics driver (beacuse these are different between the machines)?
Back to top
View user's profile Send private message
armin
n00b
n00b


Joined: 20 Jun 2002
Posts: 46

PostPosted: Mon May 14, 2007 11:29 pm    Post subject: Reply with quote

Quincy wrote:
The interesting point is: I have four machines with quite the same software configuration, but two of them look ugly now and two don't, but i can't find the difference. Has this something to do with the graphics driver (beacuse these are different between the machines)?


Same for me. My laptop is fine. But my main computer has not just ugly fonts, but within MythTV the letters were overlapping and totally broken.

This freetype is not ready for prime yet.
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
Goto page 1, 2  Next
Page 1 of 2

 
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