HOWTO: improve X11 font rendering in ubuntu! :)

1

HOWTO: improve X11 font rendering in ubuntu! :)

offline
  • Pridružio: 02 Apr 2005
  • Poruke: 1516
  • Gde živiš: # :(){ :|:& };:

This is just a summary of a previous thread on improving the way your fonts look in X11. Many people have noticed significant improvment in font rendering with these patches. You might wish to check out these before and after screenshots from that thread.

Other people wrote the patches; I am just condensing the various instructions that were dispersed throughout the previous thread, with some more detailed instructions. The algorithms in these patches may or may not be covered by Microsoft's ClearType patents; check with this guy if this is a concern for you. Special thanks go to jcooper, hugmenot, mannheim, and of course David Turner who wrote the patches to begin with.

EDIT: The instructions have been updated so as not to conflict with certain people's setups. Please report any problems on this thread.

Code:
sudo apt-get install libcairo2-dev libxft-dev libfontconfig1-dev
sudo apt-get remove libcairo2-dev libxft-dev
mkdir fontpatches
cd fontpatches
(download the three message attachments here)
unzip *.zip
gunzip *gz
sudo cp local.conf /etc/fonts
sudo dpkg -i *deb

Answer yes to all questions. Then reboot the computer. When Ubuntu comes back, go to System->Preferences->Font. Make sure that subpixel smoothing is on. Then click on details. Choose either Slight or Full Hinting, or another value if you prefer. I find that the rendering works very well with the Bitstream Vera Sans font. If you find a better font you can post it here.

To prevent future updates from overwriting the patches, load synaptic. On the left hand side, click on "Installed (local or obsolete)." Select all packages containing the words libcairo, libxft, and libfreetype. Under the package menu, select lock version. To undo the version lock, click on the word "Pinned" on the left hand side. Select all package containing the words libcairo, libxft, and libfreetype. Under the package menu, uncheck lock version.

To uninstall the packages, go again to the "Installed (local or obsolete)" section in synaptic. Select each package one at a time. Under the package menu, select "force version." When the menu comes, select the version that has the text "(dapper)" at the end of it. When you're done doing this for all the packages, click on apply. Then "sudo rm /etc/fonts/local.conf." Reboot to get the vanilla font rendering back.
Attached Files:
patchedfonts.zip (737.3 KB, 4181 views)
libfreetype6_2.1.10-1ubuntu2-turnerpatch0_i386.deb.gz (404.7 KB, 3642 views)
libfreetype6-dev_2.1.10-1ubuntu2-turnerpatch0_i386.deb.gz (662.3 KB, 3555 views)

preuzeto sa http://ubuntuforums.org/showpost.php?p=1041769&postcount=1


Smile


[mod edit pegazeka] izmenjen naslov da ne bi dolazilo do zabune



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Emil Beli
  • Pridružio: 03 Jan 2005
  • Poruke: 2990
  • Gde živiš: Beograd

Ne vidim ja tu nikakvo poboljsanje... Sad



offline
  • Pridružio: 02 Apr 2005
  • Poruke: 1516
  • Gde živiš: # :(){ :|:& };:

kako ne vidish?!
verovatno radi samo na ubuntu? :8
meni radi perfectly Smile

Dopuna: 14 Sep 2006 21:36

btw..potreban je reboot.. Sad

Dopuna: 14 Sep 2006 21:42

evo pogledaj

offline
  • Emil Beli
  • Pridružio: 03 Jan 2005
  • Poruke: 2990
  • Gde živiš: Beograd

Pa meni su na susetu lepsi fontovi od tog. Mozda zato ne vidim poboljsanje.

offline
  • Pridružio: 02 Apr 2005
  • Poruke: 1516
  • Gde živiš: # :(){ :|:& };:

e pa sada vec.. :)to je lucida sans unicode..ona m$..

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

SuSE ima font smoothing Wink
To je jedna od mnogih stvari koje usporavaju sistem radi lepšeg izgleda Smile

A Ubuntu i njemu slični baš zato i nemaju to "po default-u"

offline
  • Pridružio: 02 Apr 2005
  • Poruke: 1516
  • Gde živiš: # :(){ :|:& };:

eto sad sam i ja postao "spor" Smile)

offline
  • Pridružio: 20 Apr 2003
  • Poruke: 2416
  • Gde živiš: NS

sad sam odradila ovo i zju - koja promena! mnogo lepse izgleda, a nisam primetila bilo kakvo usporenje u radu.

offline
  • Pridružio: 02 Apr 2005
  • Poruke: 1516
  • Gde živiš: # :(){ :|:& };:

rekoh ja a ovi suse-ri me kude tu neshto.. Razz

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Ko te kudi?
Ja volim da kada mi je našminkan GUI a ne onako "suv" i sterilan...

Ko je trenutno na forumu
 

Ukupno su 595 korisnika na forumu :: 38 registrovanih, 4 sakrivenih i 553 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 1567 - dana 15 Jul 2016 19:18

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: _Sale, A.R.Chafee.Jr., aleksmajstor, aljosa7, atrkulja, blue2, d.arsenal321, Davor Kondic, Djokislav, doktor1964, Filodendron, FOX2, Georgius2, HDMI, ivance95, krkalon, Kubovac, Lieutenant, lovac12, markotrninic51, mačković, Mercury2, MiG-29M2, Mihajlo2, Mlav, nikolad, Panter2, RADOVAN.S, sasa.zoric, shmele2, Skywhaler, slonic_tonic, stalker, suton2, tmanda323, USSVoyager, Vlada78, Warhawk