Jump to content

Tired of Antialiased fonts in Gnome 2.0.x?


Guest daimoni
 Share

Recommended Posts

Guest daimoni

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

  • 1 month later...

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

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

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

  • 2 weeks later...

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...