LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-23-2004, 09:35 AM   #1
Raptor Ramjet
Member
 
Registered: Apr 2003
Location: Under a rock
Distribution: Slackware "current" - Praise "Bob" !!!!
Posts: 92

Rep: Reputation: 15
The fonts on my desktop are unusable....


Hello,

Well today I am once again rather disillusioned with Linux on my desktop because my fonts all look like utter shite. In a quest to get a usable desktop for day to day use I've been both playing with the font settings in KDEs control panel, plus trying to make sense of my xorg.conf file, but rather than improving matters the bloody thing is now unusable. For proof of this see a screenshot of my desktop at:

http://www.templeofdin.demon.co.uk/snapshot4.png

Following a default install of Slackware 10 I have installed the nVidia drivers and used Knoppix to probe my monitor settings (which I also checked against the manual) My xorg.conf file (with comments edited out) can also be seen at:

http://www.templeofdin.demon.co.uk/xorg.conf

As you can see from the snapshot the fonts look like they have been drawn with a marker pen on a piece of wet blotting paper which makes getting anything done impossible as I get eye strain after about 10 minutes.

So I would therefore be very, very grateful if anyone could tell me what the hell to do to get my desktop fonts looking even 80% as good as they do on my windows box ?

Try and try as I might I simply cannot get a Linux desktop on which I would be happy to do my day to day stuff and this is really, really getting me down. In fact my ongoing frustration with the poor quality of my Linux desktop is the only thing stopping me using Linux full time. (On this note then I readily admit my desktop themes/colours etc. are no good but why spend much time tweaking when basic font handling is knackered ?)

Finally to test that this isn't due to a hardware problem I have also established a small Windows 98 partition on the box. When using this the fonts are depressingly crisp and detailed and the display just sems brighter and better defined all round. My display hardware is:

Monitor: Iiyama Vision Master Pro 455
VGA Card: Asus VT700 (nVidia MX400)

Yours gloomily....
 
Old 10-23-2004, 09:52 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Delete these bits in your xorg.conf:

Code:
Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection
As well as these:

Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor      "IIyama-Knoppix"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
And feedback how things went.
 
Old 10-23-2004, 09:53 AM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
There's several things you can do, my recipe is:

- get good fonts, like those from Microsoft
- disable antialiasing wherever you can an enable the bytecode interpreter in freetype

The result can be seen here: http://www.homepages.lu/pu/extra/snapshot1.png , all with a slackware 10.

Regards,
-patrick
 
Old 10-23-2004, 09:55 AM   #4
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
install the freetype fonts from www.linuxpackages.net. also, need to go through the process of installing the ttf fonts. go to www.insyte.uni.cc under troubleshooting, scroll to the bottom. If you are still getting problem try sometihng like fedora or mandrake. fonts are much better by default and easier to administrer and set up.
 
Old 10-23-2004, 10:06 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might want to use the font-control programs such as fc-list. I think you are using a fixed bitmapped font will only a few small sizes.

Last edited by jschiwal; 10-23-2004 at 06:04 PM.
 
Old 10-24-2004, 04:50 AM   #6
Raptor Ramjet
Member
 
Registered: Apr 2003
Location: Under a rock
Distribution: Slackware "current" - Praise "Bob" !!!!
Posts: 92

Original Poster
Rep: Reputation: 15
Well firstly thnks for all the advice !

But I've now removed the superflous crud from my xorg.conf (I thought I'd already done that ) I've installed the latest freetype 2, copied the true type fonts over from my Windoze box, updated the fonts cache, restarted X and tried out some (most !) of the TTF fonts etc. etc..

Now whilst there's a definite improvement I have to say that things still look pretty crap. There's just no sharpness to the display so whilst the fonts have now lost some of their smeariness it's still painful to use and I can feel my eyes disintegrating as I type (I'm on the box now which is an improvement at least !)

However in the meantime I was round at my mates after the pub last night and he's just installed SuSE 9.1 on his box and the display is much, much better than mine. The major difference in our kit being that his graphics card is a more modern 128 Mb nVidia model (not sure which chipset but I can find out)

So given that I'm using an "old" nVidia card with "only" 32 Mb and an MX400 chipset, a new 256 Mb card with an FX5200 chipset can be bought for about £ 50 (about $ 90 at current exchange rates) and that it's payday next week I may well try getting a new card and see if that makes a difference.

This being the case I'm very tempted to get a new graphics card ? and am therefore wondering is this is a better way to go ? Anyone with any recommendations on chipset etc ?

One thing's for sure though any new card will have an nVidia chipset simply because ATI don't even provide a decent Linux driver for their hardware.

So cheers again for the advice !
 
Old 10-24-2004, 06:02 AM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I don't think a new graphic card will improve your fonts.. Instead you may have to
use the good antialiased fonts like Luxi Sans (Or Arial if you installed microsoft fonts).

Also try:
look at /etc/gtk and copy a gtkrc file that suit your lang to your home directory as ~/.gtkrc

You may want to create or update :
/etc/fonts/local.conf

mine looks like :

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/usr/local/share/fonts</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
</fontconfig>

Last edited by Cedrik; 10-24-2004 at 06:03 AM.
 
Old 10-24-2004, 11:14 AM   #8
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
maybe it's the anti-liasing that you don't like. that can be turned off as well. When i first came over to linux from windows the fonts' seemed weird. Now it's the best thing ever. After having to go to work all day, coming to use my home PC is a joy.
 
Old 10-24-2004, 11:26 AM   #9
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
SuSE

I'd like to add a comment regarding SuSE. I agree that its fonts are better out of the box than Slackware's, but they are not perfect either. So whether you have Slackware or SuSE, IMHO you have to do some tweaking anyway if you want the best result.
Now my personal opinion is that it's easier to tweak Slackware than SuSE.
But anyway, neither the graphics card nor changing the distro will get the best result.
 
Old 10-24-2004, 06:45 PM   #10
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
The way I fix the perennial blurry AA fonts problem is as follows:



1. Get your slackware X11 as up to date as you want it, or leave it as it is.

2. Import your TT fonts. KDE's font installer is great for this if you have TT fonts locally.

Otherwise there are websites/friends that can provide the TT fonts, and you can copy to a suitable directory
e.g. /usr/local/share/fonts/TTF.

3. Make the font files are world readable. Go to each directory you have placed True Type fonts in
and from the command prompt run the command chmod 644 *.ttf *.TTF".

4. To make the fonts available to fontconfig enabled programs simply run
/usr/X11R6/bin/fc-cache

5. For X programs that are not fontconfig enabled you should also run the commands
/usr/X11R6/bin/mkfontscale
/usr/X11R6/bin/mkfontdir
from each directory that you installed True Type fonts in. (Get these commands in order)

6. Go to http://www.freetype.org/ and get the latest version of freetype2. Decompress with for example

tar -xvjf freetype-2.1.9.tar.bz2

now modify freetype-2.1.9/include/freetype/config/ftoption.h

so that the line (3/4 of the way down)

/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */

is uncommented and looks like

#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
and save.

enter the directory
cd freetype-2.1.9

configure and fix the prefix for slack:
./configure --prefix=/usr


'make', su to root and 'make install'

7. Reboot, and hopefully fonts will look good. Sorry it is a bit long-winded. This is riding a bit roughshod over the X11 package, (you can use checkinstall if you are familiar it), but it doesnt matter much, as a fresh install of X11 would restore to the previous state anyway.

Why is this necessary? Because Apple requires you to need a license to use the byte-code interpreter
(I will leave the conscience stuff to you)

If you already have Truetype fonts installed but they look bad, follow steps 1 & 6 and you should be done.
Try the freetype site if you want to dig further...


tobyl (also thanks to Rodrin)
 
Old 10-25-2004, 11:00 AM   #11
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Regarding the last post, I would advise NOT to get the latest freetype, but to use the one currently installed. For Slack 10 stable, this would be 2.1.7. Then do the aforementionned changes.

The reason is that Mozilla for example used to die with freetype 2.1.8 or 9.
 
Old 10-25-2004, 12:21 PM   #12
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Thanks uselpa, you sound like you speak from experience.

I too have experienced the 'dying' you mention (in firefox though), and it was indeed with freetype 2.1.8, although I discovered a workaround that solved the problem.

I have had no recurrence of the problem with version 2.1.9 however.

You are right to play safe though.


Edit: something I forgot to mention before, it is necessary to reinstall your nvidia driver
after messing with the freetype module, as glx stops working. This may well be true of other graphics card drivers too.

Last edited by tobyl; 10-25-2004 at 12:50 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts colours in desktop js72 Ubuntu 1 11-04-2005 11:36 PM
Change Fonts on Desktop Alinuxnoob Slackware 2 09-14-2004 07:44 PM
fonts, desktop customization, fun stuff = newb here. spiffdoodle Linux - Newbie 6 02-25-2004 10:05 PM
CPAN 'getting' UNusable Makefiles Ju Deddo Koinu Linux - Software 2 07-10-2003 06:10 PM
wine installed but unusable! zindadilfaiz Linux - Software 1 02-20-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration