You are not logged in.
Screenshots: http://andersman.org/~anders/fonts/
I have always had issues with ugly fonts in Linux, and I have absolutely no idea why. I posted a thread about it on Reddit, which you can see here: http://www.reddit.com/info/6on53/comments/
I'm copying the post I posted there:
I use Arch Linux with freetype2 2.3.6, Microsoft fonts. For some reason some of these fonts look weird, even though Arch Linux developers enable the patented bytecode stuff when building. I really don't know what to do, and it's pretty annoying.
The first terminal screenshot isn't so bad, but I think the Windows text looks better. The second is with Consolas, and that looks really awful.
Any help would be GREATLY appreciated, thanks! I tried searching these forums but I didn't really find anything, but then again I didn't really try so hard.
Running: Arch Linux i686, x86_64, ppc
Offline
Did you also check the wiki?
Offline
Yeah, but it was quite some time ago. Perhaps there's something new there now, I will check. Thanks.
Running: Arch Linux i686, x86_64, ppc
Offline
I installed the -cleartype packages, however while things are a bit smoother, it doesn't actually resolve any of the issues I had (especially with Consolas).
Running: Arch Linux i686, x86_64, ppc
Offline
First, Microsoft fonts will never look exactly like they look on Windows. Freetype is very different from Window's Cleartype, and Windows fonts are made to use with that rendering engine.
Aside that... check your DPI, aliasing, and hinting options. I guess Windows fonts will look nice at 74DPI or 98DPI. Then, play around with aliasing and hinting. Those settings affect font quality *a lot*. If you use Gnome, those can be easily adjusted on the Appearance panel.
Offline
Did all of that, but this isn't about cleartype. This is about the shape of the glyphs being wrong.
Running: Arch Linux i686, x86_64, ppc
Offline
This font issue put me off using linux for quite some time, but eventually found a solution that suited me. Just follow the instructions on the following website www.sharpfonts.com
Offline
Hello, I had the same problem, tried all the microsoft, bitstream fonts etc and fooled around with the sub-pixel rendering blah blah but they still always looked messed up.
I finally found that the DPI setting was the key. As soon as I explicitly set the DPI in xorg.conf all the fonts began to look good. Using 72 or 96 or whatever, as long as its set the fonts look like they're supposed to.
I set the DPI in the monitor section of xorg.conf with (for example):
DisplaySize 269 202
which is 96 dpi for 1024x768 resolution (i think...can't remember). The wiki explains how to calc the numbers for whatever resolution/dpi you want.
Cheers,
Wittfella
Offline
Offline
It's rather easier to use: Option "DPI" "96 x 96"
I did try this, but for some reason it did not work for me. I also tried using
startx --dpi 96
which I saw mentioned everywhere, but it also did nothing. The DisplaySize method was the only thing that seemed to actually changed the DPI.
Offline
Well I've assumed for a long time that just changing the GNOME DPI setting would pretty much do the same thing.
Running: Arch Linux i686, x86_64, ppc
Offline
Then take a look at /var/log/Xorg.0.log
Offline
brebs wrote:It's rather easier to use: Option "DPI" "96 x 96"
I did try this, but for some reason it did not work for me. I also tried using
startx --dpi 96
which I saw mentioned everywhere, but it also did nothing. The DisplaySize method was the only thing that seemed to actually changed the DPI.
i think that should be
startx -- -dpi 96
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Thanks klixon, works a treat
Offline
I found that fonts look good with BCI disabled, using the native autohinter, except for bold fonts.
So I have this in my ~/.fonts.conf
<!-- Autohinting-->
<match target="font" >
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
</match>
<!-- Autohinting for bold fonts-->
<match target="font" >
<test compare="more" name="weight" >
<const>medium</const>
</test>
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
</match>
Makes dark text on light background look clean and bright text on dark background look good too (using Tahoma for example).
For terminals I mainly use terminus, which is a bitmap font, so it ain't anti-aliased.
Offline
I will try that, thanks.
Running: Arch Linux i686, x86_64, ppc
Offline
Just wanted to add that setting the DPI in xorg.conf isn't enough, everything still looks the same. I used the NVIDIA way of doing it (Option "DPI" "96 x 96").
It doesn't really matter, but I'd really like to use Consolas. But it's way too bold right now, not very nice on the eyes. Looks 100 times better in Windows. Which isn't very surprising.
Running: Arch Linux i686, x86_64, ppc
Offline
http://bbs.archlinux.org/viewtopic.php?id=46523
This solved the issues I had on my pc (Currently I'm using -ubuntu packages from archlinuxfr repository)
Last edited by esters (2008-06-29 10:23:23)
Offline