Fonts, Foundries and fucking FAQs

(I apologise in advance for a geeky rant)

deep breath

Okay, just what the fuck is XFree86’s problem with fonts? No matter what I do, no matter how many conflicting FAQs HOWTOs and BBSs I read, no matter how many piece of shit packages I edit and compile, it still looks like a sack of shit dipped in shit sauce and served with a side of shit.

I’m using Mandrake 9.0 (and XFree86 4.2.0), which is alleged to support anti-aliasing out of the box. Does it fuck. Apparently for some obscure licensing reason, freetype can claim to do anti-aliasing, but won’t actually do it unless you recompile the motherfucker from scratch, changing a #undef to a #define in a header file. Fine, so I do that, it installs, everything’s hunky-fucking-dory. I restart X, expecting fireworks.

Fuck all.

Then I remember that I’ve forgotten to install the truetype fonts, which, true to the free software ethos of Linux, I must nick from Windows. I go into drakfont, which I’m assured by numerous FAQ’s is dead clever. Like fuck. It falls over a few times, which is my fault because I assumed it would be capable of telling a .fon from a .ttf, but of course it’s too clever for that. I excise all the .fons from my font directory, and try again. Semi-success; the fonts install, or so they claim. There’s a whole bunch of error messages about unknown “foundries” but I assume this is not particularly important.

So I restart X, and check out some applications. Still a bag of shit, you say? Still a bag of shit. Oh yes. Not only had it imported all the true type fonts, but it had duplicated them according to a whole bunch of different foundries, each attempt looking shit in a subtly different way. Anti-aliasing now works, but Truetype fonts alias down to a ridiculously small size, with no clue as to how one might alter this. Scaling is fucking horrific, with characters’ sizes bearing little or no relation to their neighbours. Random letters seem almost bolded, and the appearance of the fonts is nothing like what the fonts should actually look like. The horizontal alignment is shocking. According to the FAQs, by this point I ought to be orgasming in appreciation of my mindbendingly beautiful fonts.

In short: as it stands, Linux is an unreadable pile of shit, and I with a Masters and the entire power of the internet behind me cannot make it work. This pisses me off.

Grrr.

[this post has been brought to you by Windows XP and the marvels of dual boot]

(This post brought to you by the The Society for Explanatory Links.)

Uh, never mind. I thought that XFree86 was a newbie to the SDMB.

Carry on.

Sorry, I don’t understand; what would you like me to link to? This thread stands proudly on its own, unsullied by provenance or much in the way of justification. There’s not much more explicating I can do, unfortunately.

Oh. I wondered. :slight_smile:

If he is, I’ll kick the shit out of him.

Do you use GNOME or GTK2 apps? If so, you must make sure the environmental variable GDK_USE_XFT is set to “1”.

I don’t know why you’re having such a problem. Red Hat 8.0 supported great anti-aliasing right out of the box for me, and so did Gentoo Linux which I switched to a few weeks ago. Don’t blame Linux just because you picked a crappy distro.

Microsoft’s webfonts aren’t the only good fonts out there. Look for the “freefonts” package on Sourceforge (I can’t give you an URL because on Gentoo it’s just a matter of type “emerge freefonts” and that’s that), which includes 40 high-quality fonts donated by some German foundry.

Incidentally, recompiling Freetype in the way you described is illegal, as it infringes on a couple of patents held by Apple. I hope a moderator will stop by and remove that from the OP.

UnuMondo

Huh.

I just copied the files to X’s ttf directory (can’t remember it at the moment, I’m at work.)

cd to it, then

ttmkfdir > fonts.scale
mkfontdir

Then reboot.

I’m using RH8. The fonts look fine in Mozilla, OOo, and the gimp, though they don’t show up as system fonts in GNOME.

ISTR that Mandrake uses its own proprietary font server by default, rather than using XFree86. If that’s the case, you should probably see what they have to say on the matter, or else just modify XF86Config to serve fonts directly.

Went poking around. This thread and the various references MAY help.

http://groups.google.com/groups?q=mandrake+9.0+fonts+ugly&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=GEKdnb8UFdbb8VqgXTWcog%40giganews.com&rnum=4

This, too.

http://groups.google.com/groups?q=mandrake+9.0+fonts+ugly&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=pan.2002.10.29.08.10.25.820719%40email.message.co.nz&rnum=1

This is why I’m waiting to install Linux until, say, 2005.

My best estimate, that’s about the right time. Mebbe summer 2004. It’s a very, very, very good bit of server software. But the desktop… not there yet. I think XFree486 may need a complete replacement, myself. Something a leeetle beeet less thin-client designed.

Not going to happen anytime soon. Both the Qt and Gtk+ toolkits working on top of Xlib, so getting rid of X would mean not being able to use the two major desktops that run on Linux (as well as the minor desktops such as WindowMaker, Fluxbox, etc.). There’s an embedded version of Qt, and work has started on a Gtk+ that’ll work on top of a simple framebuffer, but neither are really close to stability for a desktop computer.

UnuMondo

What a bunch of geeks!

Forgot this: :slight_smile:

Oh, I think that XFree86 will be desktop ready by then.

I just think the optimal solution might be complete replacement.

Get a Mac.

:wink:

Sounds like the OPer needs the Unix Haters Handbook! Read all about the “X Windows Disaster” here :

http://www.art.net/studios/Hackers/Hopkins/Don/unix-haters/x-windows/disaster.html
Favourite quote :