Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3082 - Xft hack produce bad results
Summary: Xft hack produce bad results
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-27 16:24 UTC by Meir Kriheli (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My modified ebuild to build against freetype 2.0.9 and disable xft hack (xfree-4.2.0-r9.ebuild,6.18 KB, text/plain)
2002-05-27 16:26 UTC, Meir Kriheli (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meir Kriheli (RETIRED) gentoo-dev 2002-05-27 16:24:04 UTC
I emerge xfree-4.2.0-r9, and the fonts looked fuzzy when antialiased. 
 
If antialiasing was turned of, the fonts appeard jagged and difficult to read. 
 
I resolved this to to xft hack. 
 
I've modified the build and commented out the xft hack, and compiled X against 
freetype 2.0.9 (and while at it added #HAS_ZLIB to it. 
 
Now things look alot better. Then antialiased fonts look sharper and the non 
aliased one look great as well.
Comment 1 Meir Kriheli (RETIRED) gentoo-dev 2002-05-27 16:26:38 UTC
Created attachment 1176 [details]
My modified ebuild to build against freetype 2.0.9 and disable xft hack

and while at it, added
   echo "#define HasZlib YES" >> config/cf/host.def
    echo "#define HasNCurses	YES" >> config/cf/host.def
    echo "#define HasFreetype2	YES" >> config/cf/host.def
    echo "#define HasMMXSupport YES" >> config/cf/host.def
    echo "#define HasLibCrypt	YES" >> config/cf/host.def
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-01 14:52:45 UTC
Have a look at xfree-4.2.0-r11.
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-06-01 14:59:47 UTC
I see that it doesn't apply the xft 'quality' patch. Does it do anything else related to it or just disable it? The changelog doesn't say anything about it. 
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-02 03:57:35 UTC
It disables it.  But it uses freetype-2.0.9 with hinting support.  Currently
the big problem with Xfree86 and antialiasing is that all the bulk work
of improving it is in the new CVS versions .... I dont know if we should
go that route (have a CVS version of X) now ....
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2002-06-09 21:49:08 UTC
I really think that the Xft quality hack ought to be reapplied, optionally or 
not.  I tested it a couple different ways (have screenshots, will post if 
needed) and I definitely think that having it enabled is the way to go.  It 
affects spacing and apparent size of text in KDE 3.0, distinctly for the 
better.  Maybe to avoid the fuzziness complaints, something (suggested by 
Danny Tholen) like this should be added to /etc/X11/XftConfig: 
 
match 
     any size > 8 
     any size < 15 
edit 
     antialias = false; 
  
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-24 17:47:19 UTC
Well, I think I am going to leave it commented.  If need be, you can alway
uncomment it.  I get good results with AA in Gnome2 and the current Mozilla,
without it or the modifications to XftConfig.