Excalibre wrote:
>
> **** it. Figured it out, enabled sub-pixel antialiasing and hinting, and
> things may well actually look -worse-.
>
> Screw this.
>
>
Goodness Mr. Excalibre, you’ve hardly given anyone a chance to reply… 10
minutes between posts? Tsk Tsk.
I too have noticed issues with the fonts in KDE. I’ve got a solution that
helps… or helped me at least.
On my system, the “calculated” DPI is something like 76 DPI (dots per inch).
But the pretty fonts are based on 96 DPI, or 120 DPI, so any hinting being
done doesn’t line up with the physical pixels… uh… “fried hell” I believe
you said.
You can find out what your system is calculating your current DPI as by
viewing the Xorg log file located at /var/log/Xorg.0.log
Users have read permissions, so you should be able to view it easily
(Konqueror, Kate Kwrite, nano, pico, vim, emacs, even openOffice will read
it)
Search for a line with the phrase “DPI set to” in it. It varies where in the
file, mine shows up around line 400 or so, a friend’s system give it on line
596.
It’ll say something like “DPI set to (81, 108)” (that’s my friend’s… and
yes, it’s seriously out of whack)
Ok… to fix:
Start the KDE Control Center, usually named “Configure Desktop / Personal
Settings”, often found in the ‘Favorites’ section of the K-menu.
Select “Appearance & Themes -> Fonts”.
You’ll see a drop-down labelled “Force Fonts DPI”. It’s usually defaulted
to ‘disabled’. See if setting it to 96 DPI helps.
Yes, you’ll have to restart any applications you want to see a change in. I
find it easiest to set the option, “apply” it, then close and reopen the
Control Center program and return to the Fonts page. You can immediately see
a change then. You might also try the 120 DPI setting, but unless you’ve got
a really large monitor, with teeny tiny dot-pitch, it might not help, and
might make it worse. (worser?
)
Please give that a try. See if it helps.
There’s another change which will help the fonts on Firefox and any other ‘QT’
based program (Google Earth!!)
in your home directory, look in the ‘.config’ subdir. That’s [DOT] config.
The leading period makes it a hidden subdirectory and it doesn’t show up in
regular ‘ls’ or ‘dir’ commands.
You’ll either have to enable ‘show hidden files / folders’ in Konqueror, or
just type the path in the address bar yourself.
In the .config subdir, there’s a file ‘Trolltech.conf’, it has settings within
it to control the default fonts for QT programs.
Delete that file.
run the ‘qtconfig’ program, choose the ‘Fonts’ tab, and select a default size
for QT fonts. It’s usually defaulted to 9pt, which is too small for me on
my monitors (19")… I typically bump it to 11 or 12 point. Then click
on ‘File’ (top left), ‘Save’, and then ‘Exit’.
I can’t recommend changing other items in the qtconfig program, I really don’t
know enough about the magic involved to change more things.
If you were to restart the qtconfig program, you’d see an immediate
improvement in the fonts. Or restart Firefox, or Google Earth… and so on.
A thought: you can start the ‘qtconfig’ program by pressing ALT-F2, then
typing ‘qtconfig’ at the prompt. I tend to use the shell (konsole) for most
things, need to remember to help people to use the KDE GUI system. {Smile}
Again, hope this helps.
–
L R Nix
lornix@lornix.com