Guest daimoni Posted November 10, 2002 Share Posted November 10, 2002 Well! Disable them! Easy job: Open terminal, 1. emacs .bashrc (you can open the file in your favourite text editor if you don't like emacs) (/home/youraccount/.bashrc) 2. add line export GDK_USE_XFT=0 3. type "ctrl-x-s" to save document (if you use emacs) 4. Restart X (ctrl-alt-backspace) 5. Done! Enjoy new, fresh, non antialiased fonts. ... and don't forget to visit http://www.mandrakequickhacks.tk Link to comment Share on other sites More sharing options...
Guest glaston Posted December 19, 2002 Share Posted December 19, 2002 Why disable anti-aliasing? To achieve a sloppier look? What are the benefits of having non anti-aliased fonts? Link to comment Share on other sites More sharing options...
beesea Posted December 19, 2002 Share Posted December 19, 2002 in some cases, antialiasing looks worse. on my system, i had to turn off aa in mozilla cause the fonts looked so bad. in kde, certain fonts look worse when they're antialiased. i don't even notice an improvement in gnome. but then again, this is just my system. obviously aa seems to improve fonts for most everyone Link to comment Share on other sites More sharing options...
johnnyv Posted December 19, 2002 Share Posted December 19, 2002 was that for small font sizes?, did the larger font sizes look alright in moz? I recall reading a tut on how to disable antialiased fonts under a certain size, so you have the effect on the larger fonts. But i can't remember where i saw the tut :? Link to comment Share on other sites More sharing options...
beesea Posted December 20, 2002 Share Posted December 20, 2002 was that for small font sizes?, did the larger font sizes look alright in moz? I recall reading a tut on how to disable antialiased fonts under a certain size, so you have the effect on the larger fonts. you can play around with settings in /etc/X11/Xftconfig to adjust font sizes for aa, but that's not really what my problem was. the small, un-antialiased fonts were the only ones that looked good for me. that's actually what got me thinking that i had to disable aa in mozilla. Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 20, 2002 Share Posted December 20, 2002 I tried this to see what the difference would be in opera, but the before/after screen shots I took didn't show any difference.. what am I looking for? Link to comment Share on other sites More sharing options...
beesea Posted December 21, 2002 Share Posted December 21, 2002 you should see some shading around the antialiased fonts. you can see it better with xmag Link to comment Share on other sites More sharing options...
Guest joehill Posted December 21, 2002 Share Posted December 21, 2002 will this just disable AA in Gnome and Gnome apps (ie. Gedit)? or will I find my much-adored AA fonts in Mozilla gone as well? Link to comment Share on other sites More sharing options...
beesea Posted December 21, 2002 Share Posted December 21, 2002 mozilla handles aa on its own, so it shouldn't be affected Link to comment Share on other sites More sharing options...
bvc Posted January 2, 2003 Share Posted January 2, 2003 Or, just change the values in /etc/profile.d/gtk2.sh and gtk2.csh...these are global. 0 for off 1 for on gtk2.sh # Make sure GDK_USE_XFT is set if [ -z "$GDK_USE_XFT" ]; then case "${LANGUAGE}${LC_ALL}${LC_CTYPE}${LANG}" in # the provided japanese fonts are not recognized by Xft ja*) GDK_USE_XFT="0";; # we lack Greek scalable fonts el*) GDK_USE_XFT="0";; # we lack georgian scalable fonts ka*) GDK_USE_XFT="0";; # we lack arabic scalable fonts ar*|ur*|fa*) GDK_USE_XFT="0";; # the provided hebrew Type1 fonts are bugged, don't work in Xft he*|yi*) GDK_USE_XFT="0";; # default is to support Xft. *) GDK_USE_XFT="1";; esac export GDK_USE_XFT fi gtk2.csh # Make sure GDK_USE_XFT is set if ( ! $?GDK_USE_XFT ) then set value='' if ($?LANGUAGE) then set value=${LANGUAGE} endif if ($?LC_ALL) then set value=${value}${LC_ALL} endif if ($?LC_CTYPE) then set value=${value}${LC_CTYPE} endif if ($?LANG) then set value=${value}${LANG} endif if ( $value == '') then set value=C endif switch ($value) # the provided japanese fonts are not recognized by Xft case ja*: # we lack Greek scalable fonts case el*: # we lack georgian scalable fonts case ka*: # we lack arabic scalable fonts case ar*: case ur*: case fa*: # the provided hebrew Type1 fonts are bugged, don't work in Xft case he*: case yi*: setenv GDK_USE_XFT 1 breaksw # default is to support Xft. default: setenv GDK_USE_XFT 1 endsw endif There's also a qtxft3.sh and .csh Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now