Slashdot Mirror


Font HOWTO For Linux

big-dog writes "The Register is running a good HOWTO on getting fonts to look better in Linux." Making things look purty is always good.

128 of 336 comments (clear)

  1. Strange by sasquatchoflove · · Score: 5, Funny

    Isn't it strange that this gets posted as I'm futzing with my fonts? I open konqueror to test them and I see this!! Just confirms my fears that THEY are watching my every move...

    1. Re:Strange by Dragon213 · · Score: 3, Funny

      ahhhh!!!! the paranoids are after me!!!!

      --
      --CypherDragon
    2. Re:Strange by Inthewire · · Score: 4, Insightful

      "Isn't it strange that this gets posted as I'm futzing with my fonts?"

      Not really. I think it makes sense - Linux users are often in the midst of fiddling about with some part of their system.

      Not trying to be inflammatory, now, 'cause I know all about the embedded stuff, the server stuff, etc. It's just that this particular OS attracts tinkerers.

      --


      Writers imply. Readers infer.
    3. Re:Strange by KnightStalker · · Score: 3, Informative

      No kidding. I hosed my system this morning with a little "I'll install True Type fonts... it can't hurt anything..."

      Now, KDE doesn't start, even after reinstalling it three times and reinstalling X once.

      Here I am, looking at /. from within FVWM, and the gods are taunting me.

      --
      * And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "Mozilla."
    4. Re:Strange by sasquatchoflove · · Score: 2, Insightful

      Now that kde is being mean and not working, try out other wm's if you haven't before. I use fluxbox and will never use anything ever again. Besides, with only 128mb of ram, kde3 is a bit painful.

    5. Re:Strange by isorox · · Score: 5, Funny

      Just confirms my fears that THEY are watching my every move...

      No they're not. don't be paranoid.

      P.S. If you turn round you'll knock that can off your desk - just a friendly warning ;)

    6. Re:Strange by KnightStalker · · Score: 2

      I agree, to the extent that "superior" is defined as "is less annoying, after hours of configuration work."

      My big problem with "winXP Professional", is that, a, i can't open 5 or 6 terminal windows in one tabbed app, and b, if I ssh to a different server and start emacs, I don't get a nice pretty X window :-)

      --
      * And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "Mozilla."
    7. Re:Strange by Anonvmous+Coward · · Score: 2

      "P.S. If you turn round you'll knock that can off your desk - just a friendly warning ;)"

      While you're watching the Simpsons tonight, the phone will ring. Don't answer it. Bwahahahaha

      Okay, that joke was deritive. Sue me. I want to write for SNL one day.

    8. Re:Strange by spoonist · · Score: 5, Funny



      Wake up, Neo.

      The Matrix has you.

      Follow the white rabbit.

    9. Re:Strange by rob_from_ca · · Score: 3, Insightful

      Yeah, statistically speaking the average Linux user spends 75.2% of their time at their computer trying to make their fonts look good, so it's actually not that strange at all. :-)

  2. Purty, huh? by Powercntrl · · Score: 5, Funny

    Does that mean they'll look like they were sprayed with Rust-Oleum? That's how my grandfather makes everything purdy.

    --

    ---
    DRM is like antifreeze, to the MPAA/RIAA it's sweet, to the consumers it's poison.
  3. Step 1 by Nailer · · Score: 4, Insightful

    1. Install a distro that actually cares about fonts. Eg, Red Hat 8.

    Congratulations, you're finished.

    1. Re:Step 1 by diamondc · · Score: 5, Informative

      On Mozilla's website, under the nightly/experimental directory, there are RedHat 8.0 rpms for Mozilla 1.2 beta with XFT support. Now Mozilla fonts look the same as in KDE/GNOME2 programs!

      --
      "I keep looking in the want-ads under 'revolutionary' but there don't seem to be any listings.. "
    2. Re:Step 1 by cjpez · · Score: 2
      Spoken like somebody who never had to deal with Netscape Communicator 4.x in Linux four or five years ago. :)

      Good fonts are a good thing whether you like eyecandy or not. Obviously this is less of a problem when you're just sitting at an 80x25 console all the time, but eye strain can be a serious problem.

    3. Re:Step 1 by GlassHeart · · Score: 5, Informative
      Congratulations, you're finished.

      Getting fonts right isn't just about installing them. Examine the screenshot from the article, and look at the Tahoma sample text (fifth from top). It is clear that the "q" and "r" and "Q" and "R" need more space between them. The "c" and "d" of Thorndale and Times New Roman, on the other hand, have too much space between them. Note also that you can probably spot these anomalies without even reading the text closely.

      Also, it's not hard to confuse Qt (and maybe also Gtk) or a window manager with fonts. Pick a strange font or size, and the resulting size of buttons and such often become ugly or overlap incorrectly with decorations.

      So, no, despite FreeType and friends (which are wonderful), we're not done with fonts yet.

    4. Re:Step 1 by Anonvmous+Coward · · Score: 2

      "1. Install a distro that actually cares about fonts. Eg, Red Hat 8."

      Makes ya wonder why an OS with such a strong CLI has taken so long to worry about fonts. heh.

      It's funny, laugh!

    5. Re:Step 1 by Waffle+Iron · · Score: 5, Insightful
      But are most linux users concerned with fonts. I guess this is where linux is divided among those who like eyecandy and those who don't.

      Readable fonts are not eyecandy. Fonts are the primary mechanism for translating computer information into a form compatible with your brain. They are therefore the most important visual part of the UI. Going the other direction, you wouldn't accuse of a good quality keyboard as being "fingercandy".

      If readable fonts weren't important, bookstores wouldn't sell anything more expensive to print per word than the stock listings section of a newspaper.

  4. Fonts are important by Joey7F · · Score: 4, Insightful

    I know someone will get on here saying (or at least think it), can't we concentrate on making the 2.5 kernel as stable as 2.2.x. Fonts are just for making things look 'purdy' which doesn't help if you are crashing, blah blah blah

    Fonts are very important.

    Fonts are one of the last barriers to a linux migration. That is also one of the first (negative) differences people notice on my monitor.

    Never underestimate the lure of a goodlooking UI on the average user!

    --Joey

    1. Re:Fonts are important by Soul-Burn666 · · Score: 5, Interesting

      Ugly fonts are harder to read means you become less productive.

      'nuff said.

      --
      ^_^
    2. Re:Fonts are important by scotch · · Score: 5, Funny
      I agree, with some modifications:

      :%s/user/man/
      :%s/fonts/women/g
      :%s/my Sparc\/Solaris/ugly\/skanky/
      :%s/unix\/linux interfaces/shit hole apartment I live in/

      --
      XML causes global warming.
    3. Re:Fonts are important by mindstrm · · Score: 3, Interesting

      Really.

      Well, most users I know who have windows Xp and a laptop can certainly tell if cleartype is turned off once it has been turned on.

      I run a 1600x1200, 15.1" lcd with Cleartype, and with Windows set to 120DPI.
      I can't believe I'm saying it, but the fonts are leagues better looking than any other system I can get my hands on. Microsoft did something right.

      This is so easy to read and so smooth looking, I've actually given up using an X desktop whenever possible. I would rather edit in Codewright in windows than work with the ugly fonts in X. IT's that much easier to read and easier on the eyes.

      This is the first system I've ever had where I can really say the fonts look georgeous.

    4. Re:Fonts are important by be-fan · · Score: 2

      Hell, it's nothing about "average users" and UI-prettiness. It's about making sure you don't destroy your eyes reading text on your computer! That said, Linux fonts have been great for a long time. If you're fonts look bad, you're doing something wrong.

      --
      A deep unwavering belief is a sure sign you're missing something...
    5. Re:Fonts are important by be-fan · · Score: 2

      Take a look at my post about FreeType2 CVS. I'm in the same situation, and I actually prefer the FreeType rendering these days, even though sub-pixel AA isn't working with FreeType2 CVS (it's a very subtle effect, a lot of ClearType's improvement comes from a better algorithm for AA rather than the sub-pixel rendering).

      --
      A deep unwavering belief is a sure sign you're missing something...
    6. Re:Fonts are important by Col.+Panic · · Score: 2

      Well, if you are a Red Hat user you don't have to do anything wrong, you just have to have an older distro. Fonts in Mozilla under Red Hat 8.0 are pretty ugly unless you follow the font-deuglification howto. Then they are great.

      Red Hat 8.0 seems fine to me so far, but I still want to add the ones in the article just so I have everything I might want for OpenOffice in the future.

  5. The Before and after shots look backwards by mhesseltine · · Score: 3, Interesting

    Maybe it's just me, but the after picture looks worse than the before picture. Or, maybe it's just a case of "Oops, I named the files wrong."

    --
    Overrated / Underrated : Moderation :: Anonymous Coward : Posting
    1. Re:The Before and after shots look backwards by Qrlx · · Score: 2

      Strange, the after (930.png)screenshot looks a lot better to me. All the fonts are at least as good if not better. There's less of those alias pixels evident. The fonts look a little thin, but sharp.

      I'm on a Dell Inspiron 7000 running Windows 2000. That adds up to 9000, by the way. Maybe with a different combo of hw and os, I would see something differnet. Such as a big smiling Happy Mac icon.

      They should build a "Do you want your fonts to look pretty?" wizard into the Linux installer. Because it's gonna look different on different hardware.

    2. Re:The Before and after shots look backwards by skroz · · Score: 2

      It's probably you. By default, MSIE will scale large images down to fit on screen, thus royally screwing up the images. Turn this feature off to see the proper screenshots.

      --
      -- Minds are like parachutes... they work best when open.
    3. Re:The Before and after shots look backwards by mhesseltine · · Score: 2

      And if I'm viewing this in Mozilla 1.1 at 1024x768 on a Geforce2 MX 400, then what? I can see how the definition is clearer on the after, but it also seems to be somewhat pixelated. Again, maybe it's just me.

      --
      Overrated / Underrated : Moderation :: Anonymous Coward : Posting
  6. whatever happened to symlinks? by CableModemSniper · · Score: 5, Insightful

    The author recommends you install the fonts in 2 or 3 different places. Whatever happened to installing them in one spot and symlinking to the others? Also removes the need to go thru the whole copy to the other directories rigamorale everytime you reinstall/upgrade.

    --
    Why not fork?
    1. Re:whatever happened to symlinks? by AltGrendel · · Score: 3, Interesting
      Not everyone is an admin and understands the usefullness of symlinks, seperate filesystems, and having (and acutally properly using) /usr/local.

      I've had some "seasoned" admins that I've worked with for a few years actually look suprised when I mentioned that you could (gasp) mount /usr as a read only file system if you really needed to protect it.

      --
      The simple truth is that interstellar distances will not fit into the human imagination

      - Douglas Adams

  7. Licensing Issues by bookroach · · Score: 3, Informative
    --
    GTA3 is like the Sims to me - MC Hawking
  8. link by cdf12345 · · Score: 2, Interesting
    --
    Chicago2600.net more than a lifestyle, its a survival trait.
  9. Am I the only one... by teamhasnoi · · Score: 5, Funny
    who doesn't like the 'fuzzy' fonts? If you turn Clear Type on in XP or use IE for OS X the fonts seem to be *harder* to read. (to me)
    I want fonts to be antialiased on paper, not on the screen.

    If you don't have ClearType or font smoothing, you can approximate the effect.

    Just smear Vaseline evenly over your screen - voila! Antialiased fonts!

    It worked for Cybil Shepard on 'Moonlighting'.

    1. Re:Am I the only one... by lewp · · Score: 2

      Aye. ClearType on my laptop rules. When I VNC to said box on my work CRT, however, everything looks nasty.

      --
      Game... blouses.
    2. Re:Am I the only one... by Quarters · · Score: 5, Informative
      I want fonts to be antialiased on paper, not on the screen.


      You don't quite get the concept of anti-aliasing, do you? Aliasing is the stair-step pattern you get on non-orthogonal lines on a bitmap based display (e.g. a CRT or LCD). Anti-aliasing is the apparent removal of those artifacts by blending the line's color with the color behind it.

      Printers do not anti-alias printed lines on an offset press. You gain sharpness in printing by increasing the resolution of your source material. A 1200 dpi (or greater) typesetter (or direct to press digital system) will create typography that is, for all intents and purposes, perfect.

      Asking for anti-aliased letters on a printed page is like asking to buy someone's used Yugo. It's both dumb and useless.
    3. Re:Am I the only one... by Mnemia · · Score: 2

      Let me start by saying that I *despise* Windows XP, and not because I'm biased against Microsoft. I dual boot my desktop machine between Windows 2k and Linux and I have to say that the two are comparable in stability and performance (ie, neither ever crashes). I got XP Pro when it came preinstalled on my new laptop, and it is total crap. Applications crash far more often under XP with the *same* version as under 2k and I've seen the entire OS go down more than once in what little I've used it. And XP runs much slower than 2k does on my slower desktop machine! With UI bugs galore!

      So, I basically use my laptop for Gentoo Linux now and only boot to XP when I need to use one of the few programs I have no replacement for under Linux (like Photoshop and Freehand). But, much as I dislike XP, I have to say that ClearType looks incredible on my laptop screen. It's the sharpest I've ever seen fonts (with the possible exception of Macs that friends had).

      Now, why can't Linux have this kind of functionality? After much work, my fonts look pretty good in Fluxbox and various applications. But they still don't even come close to ClearType and I still often see misrendered fonts, etc. I personally think that X would benefit greatly from having some higher level functionality rolled into it (like fonts) so that fonts would look great in all apps with minimal effort. I know that isn't what X is meant for, but font rendering is pretty basic and necessary for most any GUI.

    4. Re:Am I the only one... by be-fan · · Score: 2

      Now, why can't Linux have this kind of functionality?
      >>>>>>>>>>
      It does. Download freetype2-current from ftp.freetype.org/pub/unstable, install it, make sure there are no other freetype libs on your system (rm -rf /usr/lib/*freetype* /usr/X11R6/lib/*freetype*) and get some nice Type1 fonts (only $100 for the 65-font core collection from Adobe) and you'll be in heaven.

      --
      A deep unwavering belief is a sure sign you're missing something...
    5. Re:Am I the only one... by Ninja+Programmer · · Score: 2, Informative

      • I want fonts to be antialiased on paper, not on the screen.

      You don't quite get the concept of anti-aliasing, do you? Aliasing is the stair-step pattern you get on non-orthogonal lines on a bitmap based display (e.g. a CRT or LCD). Anti-aliasing is the apparent removal of those artifacts by blending the line's color with the color behind it.
      You don't quite seem to understand computer monitors, and human perception. Whether or not a particular solution to anti-aliasing works well or not, is dependent on the resolution you are at and the dot pitch of your monitor.

      As the resolution drops below the natural resolution of the monitor (dictated by its dot pitch) the typical anti-aliasing strategy of proportional sampling becomes percieved as smudging. For very small fonts this will actually worsen their appearance.

      As the resolution increases above the natural resolution of the monitor, the effect of anti-aliasing becomes unnoticable. I.e., its not worth the processing power to do it.

      Anti-aliasing by proportional sampling really works best if the desktop resolution is optimally set according to the dotpitch of the monitor. For 0.28, for example, 1280x1024 is the resolution you should pick. The reason is because that monitor is already doing a form of proportional sampling close to the resolution of the actual pixels. By performing the proportional sampling in the source pixels, it improves the accuracy of the sampling (from an information theory point of view) that the monitor performs.

      Anyhow the point of all this is that depending on the resolution the end user has set, and the actual dot pitch of their monitor, they can actually see "anti-aliased" fonts as looking worse (typically smudged.)
    6. Re:Am I the only one... by Quarters · · Score: 2

      None of what you said had anything to do with my discussing the fact that he wants anti-aliased fonts on items printed on paper.

      It has nothing to do with screens or monitor resolution. I was talking about offset presses.

    7. Re:Am I the only one... by Mnemia · · Score: 2

      Actually, I'm running Freetype 2.1.2 under XFree86 4.2.1, and I have the subpixel hinting because I compiled everything myself (it does help). I'm using the exact same fonts as I do under Windows XP because I simply mounted my NTFS partition and copied all the fonts that came with Windows. I'm using the correct fonts (I checked), and I have tweaked all my applications like Mozilla, OpenOffice, etc. to use them. And my fonts DO look loads better than they've ever looked in Linux before. Believe me, I've put a lot of effort into beautifying my Linux font rendering.

      But: they still don't look quite as nice as ClearType does under XP with the same fonts and the same laptop. They look pretty good, but they still aren't as sharp and readable.

      Main things I think still need improvement:

      1. Ironing out the occasional font rendering glitches I've seen under Freetype2. Sometimes my fonts are just plain misrendered under X (glitches like parts of letters missing, etc).

      2. Integration/standardization of font interfaces across different applications: I shouldn't have to individually tweak every application under Linux with special settings to make the fonts look good (for example, having to set the point size ranges, hinting, etc in Mozilla or OpenOffice). All applications should just ask the central font renderer for these things without me having to go in and tell them to do that.

      I'm not saying that Linux has no hope, because it's gotten much much better in the last little bit. And I'm going to continue using Linux as my main OS regardless. I'm just saying that this area still needs some work before it can match Microsoft, much as I loathe them. If I had any desire to boot into XP I would take screenshots to show you the difference and prove that I actually have my Linux fonts set up correctly (I do). Someday I'll get around to doing that and I'll put them on my site, but not today.

  10. AA will kill your eyes by RomikQ · · Score: 5, Interesting

    Well, personally, I prefer to read text without AA, because anti-aliased text is too blurry. Sure it looks pretty on screenshots and you can impress al your friends, but really, when I have to read large amounts of text from a pc screen my eyes get tired twice as wuickly with AA switched on. Sharp edges help.

    Now, merely having TTFs or anti-aliasing isn't enough. Take a look at this screen shot of TTFs in an OpenOffice.org document. They're clunky and blocky and basically impossible to distinguish from each other. However, with a bit of tweaking we can make them look distinct, slick and refined, as you can see in this screen shot.

    I think everyone agrees that the first one is horrible. And the second... well maybe it's just me, but I can't see a difference between their tweaked AA and my own no-tweaked non-AA...

    --
    Join the elite! Post at score:2! Ghostwheel is online.
    1. Re:AA will kill your eyes by mindstrm · · Score: 5, Interesting

      If your antialiasing is blurry, then it's just not the right one for you.

      Proper antialiased fonts are NOT blurry, and ARE easier to read than their blocky counterparts.

      The reason screenshots of subpixel antialiasing look like shit is because you aren't using the same display to see them. If I took a screenshot of my 1600x1200 laptop screen, and you display it on your 1600x1200 monitor, the fonts will look crappy to you, because the subpixel rendering is tuned to the exact screen I have, and requires an LCD to boot. Even if you have a 1600x1200 LCD, it may not look the way it looks to me, because different LCDs display things different ways; that's why there are ways to tune the rendering to look right on your display.

    2. Re:AA will kill your eyes by Anonvmous+Coward · · Score: 3, Interesting

      "Well, personally, I prefer to read text without AA, because anti-aliased text is too blurry. Sure it looks pretty on screenshots and you can impress al your friends, but really, when I have to read large amounts of text from a pc screen my eyes get tired twice as wuickly with AA switched on. Sharp edges help."

      Hrmm. Does Windows 2000 do it's font anti-aliasing differently then? (no, not Cleartype, just basic anti-aliasing) I haven't used Linux a whole lot so I can't really compare the two. I'm just curious if Win2k's idea of AA is different than KDE or Gnome's?

      Anybody comment on that? If they are different, and Windows looks noticably better (My text isn't blurry), then what's MS doing different?

    3. Re:AA will kill your eyes by CAIMLAS · · Score: 2

      Is it possible that your monitor is a piece of shit and has a low DPI? I've seen AA fonts look like ass on monitors before, simply because the monitor sucked and had hugeass pixels/high DPI (like .28 or something) and each pixel bleeded into each other, rendering a horrendous appearence.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    4. Re:AA will kill your eyes by 13Echo · · Score: 2

      The difference between Windows machines and UNIX machines with XFT is that Windows only antialiases fonts over 12-14 points in size. UNIX/Linux on the other hand, by default in XF86 4.x will render all fonts antialiased (like Mac OSX, if I am not mistaken). It is a simple tweak that must be made by adding a few lines to the "XftConfig" file to turn antialiasing off on smaller fonts (you can tweak these numbers to your own preferred levels):

      match
      any size > 8
      any size 15
      edit
      antialias = false;

      Personally, I got quite partial to the antialiasing of all fonts. If you install some TTFs that look pretty good, your desktop can look pretty clean.

  11. A suggestion for RH8 users. by e_n_d_o · · Score: 5, Informative

    Red Hat 8 appears to have most of this set up from the factory, with the exception of the MS fonts.

    There is an unbelievably irritating aspect of anti-alised fonts I've found with RH8 (and in previous experiences with Gnome2): GTK+2 apps will insist on using Anti-alised fonts for EVERYTHING, and there seems to be no way to turn it off. While I think anti-aliased fonts are wonderful most of the time, I believe most developers will agree they are not so great in terminal windows or when viewing source code.

    If you change your font preferences to "monochrome", you can then set source code editor/terminal fonts to non-anti-aliasable ones, like LucidaTypewriter. Then switch the font prefs back to your previous anti-aliased setting, and the modified programs will retain the non-antialiased font setting.

    I don't know whose fault it is that this workaround is required (GTK, Red Hat, the apps themselves, etc), but it would be most appreciated if non-antialiasable fonts appeared in the font-selection dialogs even when antialiasing is enabled.

    1. Re:A suggestion for RH8 users. by foonf · · Score: 4, Informative

      You can specify in /etc/XftConfig whether or not to anti-alias fonts based on name, type, and size. So for instance you can disable antialiasing on fonts size 12 and below, fixed-width fonts, italic fonts, etc. if you like.

      Everything that uses Xft to render anti-aliased fonts (and, except for a few programs with lame software freetype support, this is everything) will be affected by this.

      --

      "(Man) tries to live his own life as if he were telling a story. But you have to choose: live or tell." --Sartre
    2. Re:A suggestion for RH8 users. by zdzichu · · Score: 5, Informative

      GTK+2 apps will insist on using Anti-alised fonts for EVERYTHING, and there seems to be no way to turn it off.

      You can turn them off:

      export GDK_USE_XFT=0

      --
      :wq
    3. Re:A suggestion for RH8 users. by foonf · · Score: 3, Informative

      [CORRECTION]

      XftConfig is usually in /etc/X11, not /etc

      --

      "(Man) tries to live his own life as if he were telling a story. But you have to choose: live or tell." --Sartre
    4. Re:A suggestion for RH8 users. by KiwiSurfer · · Score: 2, Informative
      [CORRECTION]

      XftConfig is usually in /etc/X11, not /etc

      Who modded this up? It all depends on how you set up your system, there is NO standard filesystem structure for XFree86 configuration files. FreeBSD's port of XFree86 puts XftConfig in /usr/X11R6/share/X11/ for example -- and apparenly other OSes and/or disrributions (for some strange reason) decides to put it in /etc (despite the fact that /etc is for operating system-specific configuration files).


      - James

    5. Re:A suggestion for RH8 users. by CoolVibe · · Score: 3, Informative
      It's a compile-time setting. Oh, and FreeBSD's XftConfig is in /etc/X11, just like everywhere else. It's just a symlink to that far away place you name. /etc/X11/XftConfig is shorter :)

      Oh, minor nitpick wrt the screenshots: What is it with people taking screenshots with The Gimp?!? Surely there are better ways to dump one's screen to a file like using xwd, ImageMagick's import, Ksnapshot, or whatever. Takes less time too. Taking screenshots with Gimp is like swatting a fly with a tactical nuke. It works, but it's overkill.

    6. Re:A suggestion for RH8 users. by DigiBoi · · Score: 2, Funny

      Who modded this up? It all depends on how you set up your system, there is NO standard filesystem structure for XFree86 configuration files.

      i prefer putting every thing in /Documents\ and\ Settings/

      ;)

      --
      I put on my robe and wizard hat.
  12. Some additional debian specific font info... by sc00p18 · · Score: 3, Informative


    ...can be found here. It's really easy to follow his instructions to get true type fonts working right.

  13. What about Xft? by nothing_23 · · Score: 5, Informative

    That HOWTO seems to ignore the best option for getting pretty fonts on X, Xft.
    I am currently running Redhat 8.0 with an XFT version of Mozilla, and I must may my screenies are much prettier.
    With Xft, FreeType, and some good TrueType fonts, I finally have a Linux desktop with fonts prettier than WinXP.

    1. Re:What about Xft? by StuffYourReligion · · Score: 5, Funny

      Never mind XFT. WTF!?

      You have Trillian running in linux?
      Don't tell me you've soaked it in wine...

      --
      I have no special gift, I am only passionately curious. --Albert Einstein
    2. Re:What about Xft? by silvaran · · Score: 2

      If I had/needed a cluestick, I'd beat you with it. Sub-pixel hinting is available under RH8, with support for different orientations/ordering of the RGB lines.

  14. Compiling as root again by sasquatchoflove · · Score: 2, Informative

    With the recent sendmail trojan (which trojaned your system when you ran make), I would assume people would be more careful of this. The howto author compiles as root, just a warning...

  15. Fontconfig and Xft2 by ultor · · Score: 5, Insightful

    I'm sorry to say that these people obviously haven't messed with the fonts stuff other than the top layer of complexity. I suggest if you are really interested in font antialiasing and configuration you look at Fontconfig and Xft2. Keith Packard has done an excellent job with these products along many other cool things within X (ie. Render Extension, RandR, the new XCursor system). Compiling everything with Fontconfig/Xft2 support is a little daunting at first, but when you're done it looks great.

    1. Re:Fontconfig and Xft2 by tempfile · · Score: 2

      I just wanted to say that.

      (shameless rave)
      Keith Packard really is one of the best X hackers out there. I believe he is one of the few people who realize what X (and not only that, as fontconfig is the first universal, modern font mechanism for Linux) is lacking in *and* who is able to implement said lacking features just like they should be. I hope he keeps doing that a few more decades.

  16. Re:Fonts in Linux? by The+Bungi · · Score: 3, Funny
    Will this be a +1 insightful or a -1 troll? Ladies and gents, place your bets!

    Who the fuck cares.

  17. Subpixel hinting by Doug+Neal · · Score: 5, Informative

    For those saying that ClearType style subpixel hinting is "too blurry", you should be aware that it only really works on TFT screens as the way it works requires a set pixel layout, which traditional CRTs don't have. Steve Gibson has a fairly good explanation of how it works on his website (if you can put up with his infuriating self-congratulatory writing style).

    So yes - regular antialiasing should be all that's needed on a CRT.

    And... I'm currently typing this from Konqueror 3, which renders subpixel antialiased Truetype and Type1 fonts absolutely beautifully, along with the rest of KDE 3, in fact I would say it looks a lot nicer than Cleartype. Especially on a 1600x1200 TFT. Mmm, shiny :D

    1. Re:Subpixel hinting by msobkow · · Score: 2

      ... ClearType ...requires a set pixel layout, which traditional CRTs don't have.

      Actually, I prefer ClearType on my Sony monitor, but not on my "regular" monitor at work. Trinitron tubes use square/rectangular phosphor cells instead of dots. Seems to me that trinitron tubes might be close enough to a "set pixel layout" to have the same effect.

      Anyone else out there who can compare tube/gun types?

      --
      I do not fail; I succeed at finding out what does not work.
    2. Re:Subpixel hinting by cowbutt · · Score: 2
      ... ClearType ...requires a set pixel layout, which traditional CRTs don't have.

      Actually, I prefer ClearType on my Sony monitor, but not on my "regular" monitor at work.

      I was going to write saying exactly the same thing. I've used Xft's sub-pixel (aka ClearType-alike) rendering on my laptop for some time now. When I got a 20" Sun monitor (Sony Trinitron tube), I thought "hey, I wonder how s-p rendering looks on this, given it has a rectangular RGB pattern?", not really expecting it to work. Somewhat to my surprise, it does work, arguably better than a TFT!

      --

  18. What?!? by BJH · · Score: 2

    He goes through all the hassle of rebuilding Freetype, and then the screenshots at the end aren't even antialiased...

    So what was the point of this article again?

    1. Re:What?!? by ByTor-2112 · · Score: 2

      You got me, I was thinking the same thing. From what I could see only the first screenshot that he called "ugly" had any anti-aliasing at all. The rest of them were crappy jagged-edged fonts. I guess he thinks of them as "normal" because before Windows XP it didnt support good anti-aliasing.

  19. Re:Here is the HOWTO by Quikah · · Score: 3, Informative

    There are XFT builds of Mozilla 1.2b already, here.

    --
    Q.
  20. Re:Maybe... by Wee · · Score: 2
    Ya'll should consider using Windows instead. ... I think it's amazing that Linux is being pushed as a desktop operating system when it can't display fonts to save its life. Pretty pathetic, if you ask me.

    First off: if you're basing your choice of operaing system on a windowing program's ability to render fonts, then something is seriously wrong. IMHO.

    Second: I don't like anti-aliased fonts. I'd rather look at code/text in a non-AA, monospaced font. It gives me fewer headaches. Text in a magazine or on a newpaper is one thing, but when I'm looking at a monitor, I don't want anti-aliasing. "Linux" (those with a clue, just assume that X is Linux for a minute here for the sake of discussion; some people don't know that the GUI and the OS are two different things) displays fonts just fine for me. If I wanted AA fonts, I can have them. If I don't want them, I don't have to get them; nobody has made my choice for me. Being forced to put up with someone else's choices is really what is pathetic. (Although trolling with old Windows bigotry comes close.)

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  21. Another HOWTO by capnjack41 · · Score: 5, Informative
    The Linux Font De-Uglification Howto

    Mostly the same stuff, possibly?

  22. HOWTO violate microsoft and apple patents by jrstewart · · Score: 5, Insightful

    The flag that this article suggests turning on is off by default because the hinting algorithm in question may violate Microsoft and Apple patents. Not the average user really cares about this, but it was irresponsible of The Register to not explain this in the article. On the other hand, this is The Reg we're talking about here...

    More info: http://freetype.sourceforge.net/patents.html

    1. Re:HOWTO violate microsoft and apple patents by Pengo · · Score: 2


      Why pay for a product thats protected by a pattent and a company if it can be had for free? I think that is what they are worried about.

    2. Re:HOWTO violate microsoft and apple patents by JanneM · · Score: 2, Informative

      As I understand it, the patents have been granted in the US only. The Register is a British publication. So, for their target readership, there are no patent issues to worry about.

      --
      Trust the Computer. The Computer is your friend.
    3. Re:HOWTO violate microsoft and apple patents by Espectr0 · · Score: 2

      Probably the reg does not care because they don't have a DMCA to worry about. Shame on them for being Free

  23. Strongly Recommended by mickwd · · Score: 5, Informative

    I've got to point out this site for improving fonts even more. The difference it made to my fonts was amazing - and I was already using sub-pixel rendering and a laptop display with freetype2-2.1.2 (with the bytecode interpreter compiled in).

    I STRONGLY recommend you try it out - he even includes a pre-compiled libfreetype (built for Red Hat, I think, but works great on Mandrake 9.0). You'll need to put it in the right directory, and create the right symbolic links to it.

    I don't know how much of the improvement is due to this guy's improvements, and how many are due to the upcoming freetype2-2.1.3, but whatever - Linux fonts are no longer inferior to look at.

  24. Re:Why would you ever want to? by stratjakt · · Score: 2, Interesting

    listen here.

    you're preaching to the choir.

    but your an asshat. take a deep breath and think before you speak.

    and whether your OS is gui driven or cli driven is irrelevant. it's the use you make of it that is (or isn't) "mindless".

    i for one am sick of typing everything, and sick of the tendonitis i've developed from years of doing so.

    only do-nothing IT guys and admins brag about using a command line.

    i do however have a problem with linux becoming windows, because noone seems to be able to think of anything better.

    --
    I don't need no instructions to know how to rock!!!!
  25. Re:Why would you ever want to?-Be good. by Anonymous Coward · · Score: 2, Interesting

    Well to start. Why shouldn't admins have a nice screen to look at? I use to work with a very very nice monitor (commercial OS) that had such a beautiful screen. Shame I couldn't take it home with me. Now I can have the same experience with my home OS. Two by unified userbase you wouldn't be forgetting all the different varieties of Unix out there would you? Three it is a myth that you have to give up control while having ease of learning as well as use. However the present problem I see with what's coming out is that an interface that "grows" with you as you transit from newbie to power-user is hard to do. Most interfaces commercial or otherwise hit either end, while being weak in the middle. Can an interface be for everyone? Yes, but it may mean more work and looking very hard at what we presently assume.

    From the last time I did this:

    1-an interface needs to be free of unnecessary elements at all time. In other words (does this contribute to the goal(s) being achieved?).

    2-An interface needs to keep it's audiance in mind. Professional? Amateur? Artist? Blue-blood?

    3-Organizing devices must leverage common elements while going from general to specific.

    4-Make the interface playable by making the consequences of actions as reversable as possible.

    5-If an action is unreversable let the user know in a non-threatening, non-insulting way.

    6-Choose intelligent defaults.

    7-Keep the perception as much as possible that the user is in control of the situation.

    8-If control is needed in a situation (a certain sequence needs to be followed) guide the user as gently as possible.

    9-As part of transiting from newbie to power-user. Have the interface show you some of the alternative ways to accomplich the same task.

    10-User control of variable preferences is one way to accomplish gradual disclosure of the power that lies beneath without intimidating the user.

    Anyone else want to add anything?

  26. Look at this thread: by peterpi · · Score: 5, Insightful
    • You've obviously not used (insert distro here)
    • Well, you just need to edit your XF86Config.
    • I read code, so I don't need AA fonts.
    • Yes you should have the fonts there, but you actually need to symlink them over here, here, there, and there.
    • GUIs are for lusers, you are obviously not 1337.

    Much as the work on getting fonts to work on X is to be commended, I don't think we're ready to start showing off just yet.

    Get back to me in a few years when something approaching a workable standard is around.

    1. Re:Look at this thread: by bogie · · Score: 2

      I don't think it will be years. I think its safe to say Redhat 8 set a new standard in the "Out of Box experience" category. I think its also safe to say no distro will ship with shitty fonts in their next release now. I think that is something to celebrate and show off don't you? I know everyone I've shown OpenOffice to has been impressed with the fonts.

      Regarding the arguing, well some things will never change. I sometimes get fed up with it as well, and I'm sure some people get fed up with me, but you gotta admit this would be one boring website without it.

      --
      If you wanna get rich, you know that payback is a bitch
    2. Re:Look at this thread: by be-fan · · Score: 2

      About the distro thing, if you're not using a newbie distro, screw you if you have newbie complaints! There is a place for new users on Linux, but if they're not in their place, then they have no right to complain. In light of the first statement, the rest are irrelevent, because many distros (RedHat 8, for example, and Gentoo, even though it's not a newbie distro) do handle fonts correctly.

      --
      A deep unwavering belief is a sure sign you're missing something...
  27. What?! by Ulwarth · · Score: 5, Interesting

    I don't get it. The two screenshots he shows to compare (923.png and 930.png) look identical to me, except that one has anti-aliasing and one doesn't. He claims the second one looks better, but I don't see it.

    In fact, I think his screenshots look pretty ugly in general. He's managed to duplicate the blocky, hard-edged look of Windows 9x quite well, but I hardly consider this attractive. Red Hat 8.0's fonts look significantly better than his screenshots.

    Mac OS X still has a wide lead on best look fonts, but IMO a modern Linux box has superior fonts to any version of Windows.

  28. Funny. by mindstrm · · Score: 2
    Cleartype on my laptop ROCKS. IT's the smoothest, sharpest fonts I've ever seen, anywhere but in print.

    Cleartype only really works if you are using an LCD, btw... and it depends on how the LCD screen is constructed.

    Also, have you gone to the proper MS site and tuned your cleartype settings?

    Tune Cleartype

    IF you have a 1600x1200 laptop, I recommend setting XP to 120dpi instead. Yes, the fonts get larger, and some things are a bit out of whack due to bad programming.. but I assure you the increased resolution combined with cleartype makes things look sweeeeeet. Also, if you use Acrobat Reader (which uses it's own font rendering engine), make sure you go into the settings and turn on CoolType to get similar results.

  29. This guy is whacked. by brunes69 · · Score: 5, Insightful

    I am posting the same thing here as I posted over at the dot 10 minutes ago. Just a glace at his two Openoffice screenshots showed me this guy is seriously whacked. The second screenshot, which he claimed is "more refined" is clearly much more jagged than the first. A simple look with Xmag sees the only difference between the two is that the second has anti-aliasing turned off. Same with the"results" screenshots at the end.... they look like crap compared to my fonts in KDE, and I did nothing speccial. Just apt-get install msttcorefonts in Debian. There is no anti-aliasing going on at all in these screenshots, they look horrible.

    Now, I totally respect people who don;t like anti-aliased fonts. but in KDE (which this article seems to be mainly about) or OpenOffice, disbling anti-aliasing is as easy as unchecking a menu option... if you don't want it, don't use it. What is the point of the whole long process in this article exactly?

  30. Re:Maybe you should use those purty fonts... by The+Bungi · · Score: 2
    I did read it. And so your point is that if I accept the EULA I'm "pathetic"?

    I guess stealing fonts from Microsoft so that you can have a decent-looking OS is heroic.

    And please don't give me the stupid "M$ is evil" spiel. It's as tired as a hooker at a GeekWorld convention.

  31. why? by jchristopher · · Score: 3, Interesting
    What kind of message does it send that there is actually a NEED for a "font how-to" in the first place?

    I cannot comprehend what is so hard about making fonts work. TrueType is a known format. The OS loads it up and the programs use the OS to interact with the fonts, right? Windows and Mac handle it fine, what exactly is the cause of the difficulty under Linux?

  32. For high-res screens by be-fan · · Score: 5, Informative

    If you're running a high-res screen (currently this would be one of those 133 or 140 DPI LCDs) or if you like your fonts on the softer side, the TrueType hinting algorithm will tend to make your fonts too thin. I'm running a 1600x1200 LCD and the bytecode interpreter, which tends to snap fonts to integral numbers of pixels, distorts the shape and makes fonts too thin to read. A wonderful fix for this is to download and compile the FreeType2-current from FreeType's FTP site (under the unstable directory). Then, get some nice Type1 fonts (currently, a lot of fixes are in the pshinter) and make sure to disable the TrueType bytecode interpreter (it's disabled by default). Turn on AA, and you're treated to some wonderfully rendered fonts. Anti-aliased enough to be smooth, but still sharp enough to be easily readable. I've got a screenshot at: http://home.mindspring.com/~heliosc/fonts.png

    --
    A deep unwavering belief is a sure sign you're missing something...
    1. Re:For high-res screens by be-fan · · Score: 2

      0) Make sure that you've got Xft anti-aliasing already working in X. There are a lot of HOWTOs on the internet for this.

      1) Download the freetype2-current sources from here.

      2) Extract the sources, cd to the 'freetype2-current' directory, type 'make' twice to build, 'make install' once to install.

      3) Back up any libraries of the form *freetype* in /usr/lib and /usr/X11R6/lib to somewhere safe, and then delete them from those directories.

      4) Copy the newly built libraries from /usr/local/lib to /usr/lib.

      5) Next, get some nice Type1 fonts. You can find these in a lot of places. I personally got the Adobe Type Basics package ($100 for 65 fonts) which is a very good deal. But the Luxi series of fonts that come with X are also pretty good. If you have any desktop publishing software or any Corel software, you might find some Postscript fonts that come with those. As a last resort, just search the internet for Postscript fonts. The nice thing is that with the new FreeType, all the smarts are in the auto-hinter and ps-hinter, so what the font looks like depends only on the glyph shapes themselves. This is a big step forward from the TrueType world, where the quality of the font depended very heavily the quality of the font's hinting. Since hinting TrueType was an extremely difficult process, only expensive professional fonts were any good for on-screen use. In comparison, there are tons of good Postscript fonts out there, since the hinting required for postscript fonts is rather minimal.

      --
      A deep unwavering belief is a sure sign you're missing something...
  33. pretty != readable by g4dget · · Score: 5, Insightful
    Some of the original X11 bitmapped fonts are probably among the most readable fonts anywhere. They were hand-designed and tuned over the years.

    The point of TrueType is not to give you more readable fonts than good manually designed ones, it is to give you complete families of decent fonts at many screen resolutions and sizes; that's needed because it would be way too much work to design all those font instances by hand. Still, if you did, you'd only improve the TrueType output.

    Furthermore, anti-aliasing, font smoothing, and similar tricks do make pages appear prettier, but they generally don't enhance readability, and may even degrade it. That's why, among other things, many systems let you turn off font smoothing below a certain size. Cleartype and its equivalents, however, may help with readability, since they really do increase spatial resolution (at the cost of color fidelity).

    1. Re:pretty != readable by g4dget · · Score: 2
      The original X11 bitmapped fonts are not very readable fonts. Readable fonts, as have been noted elsewhere time and time again, have just the right x-height, stroke width, serif size, and so on. Bitmapped computer fonts don't have any of those things.

      Come on, think about it. With bitmapped fonts, every single pixel is placed by hand--you can't get more control than that. A bitmapped font designer can choose whatever x-height, stroke width, and serif size, he wants.

      So what makes a font readable? A readable font is one in which the letters look like what you expect them to look like. Good serif fonts have glyphs that are easy for the eye to recognize at virtually any size from billboard down to postage stamp. Antialiasing helps make fonts more readable because it makes the glyphs look more like what you expect them to look like.

      Readability is influenced by lots of factors. Familiarity helps. But so do contrast and other features. At small sizes, antialiasing blurs out characters so much that readability suffers. And familiarity is easily acquired, while low contrast affects readability no matter how long you stare at a blurry font.

      I suggest you try "micro" (a 3x5 font) or "5x7" (a, guess, 5x7 font) on X11. Then try to get something as readable at that size out of a scalable TrueType font. Good luck. Mini7 and SeveNet are other examples where Mac typographers, of all people, threw away scalable type or antialiasing to get readability at small sizes.

    2. Re:pretty != readable by g4dget · · Score: 2

      You can't make a readable font on an 8 x 14 pixel grid, sorry.

      About 50 years of experience with bitmapped fonts prove you wrong. The main thing you can't do with an 8x14 pixel grid is satisfy a snob.

      As for your 5 x 7 pixel font suggestions... no thanks. Your problem isn't with antialiased fonts, it's with fonts that are just too darned small. Use a type size on the screen that's large enough, antialias it, and your eye strain problems will disappear.


      I don't have a problem with eye strain--I use well-designed bitmapped fonts for most of my text.

  34. RPM by Faux_Pseudo · · Score: 5, Interesting

    Ok so here I am with my first moderator points in who knows how
    long[0] and I wanted to use them so badly on this thread because I am
    really new to this whole X font thing having spent so much time in a
    self imposed exile to the command line for two years[1]. So I am back
    to using X and this font HOWTO sounded like a great idea. Until I
    started reading it. To paraphrase "Just unpack the src RPM". Well
    hell I thought HOWTOs were supposed to be distro independent because
    the HOWTO might outlive the distro and because not every one uses
    Uber_Distro_GNU/Linux. I fit in to that latter category. I run
    Slackware and some people run Debian. Now it is possible to unpack
    that RPM and futs with it for a little while and hope that it works
    no matter what distro you are on but the HOWTOs are supposed to "speak
    in a language that everyone can comprehend."[2]
    One of the tricks to Linux's success is that is very portable to any
    arch. Shouldn't the HOWTOs be written with the same idea?

    I really did want to use those mod points here. Oh well better luck
    next thread.

    [0] remember that 1000 mod pointed post? Well apparently I have
    served my time.
    [1] to better learn this thing called Linux better than a GUI will
    ever allow.
    [2] no thats not a Living Color song.

  35. Because he's RIGHT. by Anonymous Coward · · Score: 3, Insightful

    Windows 2000/XP: Install a font by dragging it to the fonts folder.

    Mac OS X: Install a font by dragging it to the fonts folder.

    Linux: Some convoluted thing that involves downloading the Microsoft (!) fonts and putting them in several different places.

    Windows XP: Turn antialiasing or ClearType on by checking a box in the display properties. (Note: ClearType is only recommended for digital flat panels.)

    Mac OS X: Turn antialiasing/sub-pixel rendering on by checking a box in the display properties.

    Linux: Recompile this thing, and oh yeah you have to edit a header file, and then do this, and then it will work, except not in Mozilla, because then you have to do this and the other thing. (A three-page description follows.)

    I agree with the first post here. Getting Linux to look good on the desktop is possible. Getting Windows XP or Mac OS X to look good on the desktop is easy. Thanks, but I don't want to f*ck with my computer just to make it look good.

    1. Re:Because he's RIGHT. by Anonymous Coward · · Score: 2, Funny

      well then what the hell are you doing reading and posting on slashdot? this isnt "News for Moms, Making Solitaire Easy". if you want to sit around and not bother doing things yourself, just go back to your aol channel and find some nice football chat.

    2. Re:Because he's RIGHT. by SomeOtherGuy · · Score: 2

      I agree. It not only should be easy -- but what is up with app font support relying on how you compile the app? X should be allowed to handle font rendering. As soon as each app and or toolkit has to worry about which libraries to use to render what fonts -- what ways....You end up with a mess. Imagine getting a shirt with no buttons and then having to buy 8 different buttons at 8 different stores, then sew them on and hope eveything matches. Is it not just easier to take care of the button issue at manufacture time...

      --
      (+1 Funny) only if I laugh out loud.
    3. Re:Because he's RIGHT. by jejones · · Score: 3

      Welcome to the wonderful world of software patents.

      You should take it up with Apple, or perhaps hit up the maker of some Linux distribution and say you are willing to pay extra to Apple to get the full version of FreeType, or that you want an installation option that will let you pay Apple in return for installing the version of FreeType that does the hinting right.

    4. Re:Because he's RIGHT. by tempfile · · Score: 2

      Linux with Fontconfig: Install a font by dragging it to the fonts folder.

      Linux with Gnome 2.1: Turn on antialiasing or subpixel AA and fine-tune it to your liking with a few checkboxes.

      Getting Linux to look good on the desktop is easy. Support fontconfig. That, of course, means developers. Gnome 2.1 supports it, Mozilla does, I believe Trolltech is hacking on Qt. A bright future is very near.

  36. Re:Redhat makes adding fonts even easier by IdleTime · · Score: 3, Informative

    No problem.

    Find your unix.js file under the mozilla directory, then make sure your TrueType Section looks like this:

    // TrueType
    pref("font.FreeType2.enable", true);
    pref("font.freetype2.shared-library", "libfreetype.so.6");
    // if libfreetype was built without hinting compiled in
    // it is best to leave hinting off
    pref("font.FreeType2.autohinted", true);
    pref("font.FreeType2.unhinted", true);
    // below a certian pixel size anti-aliased fonts produce poor results
    pref("font.antialias.min", 6);
    pref("font.embedded_bitmaps.max", 1000000);
    pref("font.scale.tt_bitmap.dark_text.min", 64);
    pref("font.scale.tt_bitmap.dark_text.gain", "0.1");
    // sample prefs for TrueType font dirs
    pref("font.directory.truetype.1", "/usr/share/fonts/truetype");
    pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/TTF");
    pref("font.directory.truetype.3", "/usr/X11R6/lib/X11/fonts/truetype");


    Just remember to change the path to your TT font directories.

    --
    If you mod me down, I *will* introduce you to my sister!
  37. Re:Maybe... by Archie+Steel · · Score: 2

    I can guarantee you that if you saw my Linux desktop with fonts anti-aliased with David Chester's Xft hack, you'd instantly want to switch. Frankly, I have yet to see TTF fonts this beautiful on any system, Mac OSX included, especially in 1600x1200. I mean, look at this screenshot! Sorry, but I work on a Windows machine all day, with anti-aliased turned on, and it doesn't even come close to this.

    The font battle has been won, and the winner is Xft+freetype+Chester's font hack.

    --

    Reminder: find a new sig
  38. Re:Redhat makes adding fonts even easier by Lendrick · · Score: 2

    Actually, your fonts will look better if you set unhinted to false (but leave autohinted to true)

    Bart

  39. Re:Yes, you are. by teamhasnoi · · Score: 2

    This is far funnier than my post. hehehehe

  40. I don't see it by praedor · · Score: 4, Insightful

    Honestly, I do NOT see nice fonts displayed any time there is an article about fixing fonts in linux.


    There is one place and one place only that I have ever seen a screen loaded with nicely antialiased fonts...my KDE desktop using the longtime antialiasing support from QT. The fonts I have are SMOOTH. Let me reiterate that, they are smooth. No jaggy lines, no stairstep angles, just smooth antialiasing. Beautiful.


    I then read an article like that at the Register, look at the screen shots, and all I can do is say "What the fu*K are they talking about?! Those fonts are STILL jaggy and they are NOT aa.


    I've recently read a few other articles about fonts, aa, and hinting. I look at the results in screenshots and the fonts are either STILL jaggy or they are horrifically smeared. If hinting means "smear the crap out of the font until it makes you think your glasses are greasy or you are developing cataracts" then that hinting crap is working great! Nice looking aa fonts do NOT have to be blurred out of recognition. AA means NO jaggy lines, just smooth, flowing, SLIGHTLY (EVER so slightly) blurred fonts.


    So far, mozilla simply has ugly font rendering no matter how you slice it. Its fonts are jaggy/stairstepped. Period. Butt-ugly. Same with Gnome. I have tried to get fonts to look as nice in Gnome as they look in KDE but it just doesn't happen. I either get the greasy glasses effect or jaggy lines.


    I have to come to the conclusion that when people SAY antialiasing, they really don't know what their are talking about. Or they are referring to a different antialiasing than I am aware of. If your fonts have jaggy lines, then you are NOT enjoying the fruit of aa. Sorry, but that is a fact.


    --
    In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
  41. Re:I think he got it reversed! by Lobsang · · Score: 2

    That's the only explanation. I was puzzled by it too! When I found the first, anti-aliased screen and he says he'll improve it a lot I thought "Wow, let me see the second screen now!".

    The second screen shows non-AA fonts! :)

    Weird! :)

  42. Re:Maybe... by The+Bungi · · Score: 2
    That's nice. But "well, as far as I'm concerned" doesn't either validate your point or make it any more, well, relevant.

    You seem to think that because you have figured out how to have beautiful fonts in Linux then ergo, Windows sucks and is not necessary. That's kind of a stretch, mmm?

    Also, the "well, if I want them or not blah blah blah" choice (and I use the term lightly since I can't imagine myself thinking "hey, I want my apps to look crappy!") is pretty fucking irrelevant to the topic. I don't give a shit if you can do something like '#fontometric -i -r00 -l -pr3 -tti -font' or some such weird incantation to reach anti-aliasing Nirvana. If it doesn't do it out of the god damn box then it's pretty much useless.

    Being forced to put up with someone else's choices

    Spare me the communist claptrap bud.

  43. Completely OT, but... by Stauf · · Score: 3, Informative

    Trillian runs fine under wine, albiet without *any* alpha blending (not sure tho, it may work on a version of X that supports transparency)

    (Just realised I'm using WineX 2.2 - may make a difference, but it works for me)

  44. Re:why? by Cid+Highwind · · Score: 4, Insightful

    Two main reasons, both derive from IP issues.
    The freetype bytecode interpreter is possibly infringing on an Adobe patent. MS and Apple both shell out big bucks in licensing fees to Adobe for rights to the patented aspects of TrueType rendering, and it shows in the quality of their screen font rendering. Second, the fonts that are available freely (GNU free, not $0 free) are utter shite. They would look bad on any system. Microsoft has great fonts, which are available for free (as in no money) but there are some restrictions on distributing them, so they are never included in a Linux distro.

    --
    0 1 - just my two bits
  45. GNU/Linux needs good defaults by dh003i · · Score: 3, Insightful

    GNU/Linux does have good defaults, for a server.

    However, for the most part, it has very poor defaults for the average home-user desktop-user. I'm speaking as a Debian user here.

    Distributions should offer a "desktop" option during setup, which will set things up nicely for the average desktop user: that means anti-aliasing, maximum resolution possible, 16-bit color, a reasonable font-set, and a good default GUI-configuration (this does not mean a aqua-esque theme; this means that, for example, if the WM is WindowMaker, icons for the internet, e-mail, spreadsheets, word processors, etc should be on the dock).

    All of the right stuff is there to make GNU/Linux. All that developers need to do is set up good defaults. This is simply a configuration issue; it is not something which is going to prevent you from devoting enough time to core technical issues.

  46. Didn't quite work for me by KidSock · · Score: 2

    I copied over MS TTF fonts and X acknowledged them but looking at a webpage in Moz with Verdana shows huge disproportionate characters. Is this a problem with Mozilla or just a problem with raw TTF/xfs?

  47. Re:Is Linux dead? by bogie · · Score: 2

    Huh? Since when does CLI=Linux?

    Fonts ARE a big deal. Getting them right is a hell of a lot more important than some grep switch. Futhermore one has nothing to do with another. Why are even comparing the two?

    Why would Redhat stop distributing xterm?

    What are your talking about?

    Why was this modded up?

    Huh?

    --
    If you wanna get rich, you know that payback is a bitch
  48. But it's out of date by devphil · · Score: 2


    It refers to the Microsoft-provided font package, and that's been removed from Debian ever since MS pulled the fonts. The msttcorefonts .deb doesn't actually provide the fonts, it just downloads them from the MS web site -- and so, it's useless, as the web site no longer has them.

    Pity, too, because I run Debian, and I've never been able to get decent fonts under any flavor of Linux.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  49. Ah, but wait by devphil · · Score: 2


    Somebody else told me that the MS fonts have been reposted somewhere on sourceforge, and that Debian now downloads them from there. That'd be neat.

    I love typesetting, but I hate messing with fonts on my computer. Why the hell can't they look nice out of the box?

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  50. Wrong Direction by SomeOtherGuy · · Score: 5, Insightful

    Well if you look at the font fiascos in recent distributions and desktops (I am speaking of Mandrake 9.0 -- and from what I have heard RedHat), then you end up having about 5000 fonts and each application you run can use about 10 of them. So you end up with some applications able to use some fonts , and other applications able to see others. Depending on what type of app or window manager you are running -- you see a variety of "effects" that may or may not resemble AA. Gtk 1.x apps see some fonts, Gtk 2.x apps see others, QT sees others AND PLEASE don't even get me started on font sizes, most apps just asumme that size 12 is about all they want to use, and some gtk apps occasionally start up with a nice 72 point font staring back at you for some crazy reason or another -- Xfontsel can see a bunch of them but in itself does not do much. (to me it just looks like multiple levels of blur.)

    I bet one could write a book with a chapter on each different method for displaying fonts in these new distributions. And if you want to get really confused you can look at the 7 or 8 different font configuration files used to put this clusterfuck together. Whatever happened to the good old days where I could just run XFSTT on a port and get all of my TT fonts pretty much the same as in Windows -- and this was even before XFree 4. With the advent of XFS and XFree 4 we got some primitive looking Jaggy things that "claimed" to be our TT fonts -- but at least where I was standing you could not pick them out from a lineup.

    I still don't see how we are any better off in the "font world" than we were 4 years ago -- it seems that each toolkit has just decided to try to invent there own ways to render fonts.. Crazy -- Crazy -- Crazy.

    --
    (+1 Funny) only if I laugh out loud.
  51. purty by Laplace · · Score: 2, Funny

    Making things look purty is always good.

    Unless it's the layout and color scheme of Slashdot.

    --
    The middle mind speaks!
  52. Re:Maybe... by Archie+Steel · · Score: 2

    Not a great screen, but reasonably priced: SyncMaster 955DF from Samsung (500$ canadian for 19"). It does the job!

    I can always send you a screenshot (I don't have a digital camera...yet!). My email address at home can be found on my website, under the heading "Courriel" near the bottom of the right hand column (just above the "small type"). The link text is "m'écrire".

    But if you say that your display is better than OSX, then I guess that our desktop are pretty close. I'm happy with calling it a draw (though I wouldn't mind a screenshot in any case). Your call.

    --

    Reminder: find a new sig
  53. No, he's right about the visual effect by Reziac · · Score: 3, Insightful

    I do understand anti-aliasing, but the parent post is right -- on some screens, at some resolutions, AA'd screen fonts look fuzzy (worst case, they can be almost unreadable). So I think it's good, even necessary, to allow anti-aliasing to be turned off if the user so desires.

    BTW, I frequently need to resize image files of various sorts, and have learned that sometimes (depending on content) they look better when I turn off anti-aliasing.

    --
    ~REZ~ #43301. Who'd fake being me anyway?
    1. Re:No, he's right about the visual effect by wadetemp · · Score: 2

      on some screens, at some resolutions

      You're talking about 320x200 CGA, right? One some days, in some fields ,I can get struck by lightning too.

    2. Re:No, he's right about the visual effect by Reziac · · Score: 2

      No, I'm talking about this nice crisp Trinitron CRT that I run at 1024x768x32M.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  54. Re:Maybe you should use those purty fonts... by The+Bungi · · Score: 2
    That's very interesting indeed. Now we get to the meat, eh?

    Please provide spacific examples of how my freedoms are being abridged and limited, and how Microsoft owns my computer(s). Please, be specific and don't rely on what you've "heard" here in Slashdot since that's about as balanced and valid as sexual guidance from the Vatican.

    Breathlessly awaiting your insight.

  55. Actually, those problems have been solved ... by shellbeach · · Score: 3, Informative
    Have a look at these XFT/Freetype hacks. The author of these initially started off hacking XFT to remove hinting, then added back an improved "slight-hinting" model, and is now working on making the changes directly to the FreeType library (which has the added advantage of fixing OOo's fonts and making them look decent (finally!)).

    I've been using this FreeType hack for a while now and Windows and MacOS look far worse in comparison. Just check out the screenshots on the page if you don't believe me!

  56. Just change unix.js by shellbeach · · Score: 2, Informative
    It's a simple matter of changing unix.js in *mozilla-directory*/defaults/pref/

    Here's a diff of the default unix.js file against my customised one - note that there's a size for minimum aa'ing (which I have set at 1, but you could set at 16 if that's what you want), and that you can change the "bluriness" via dark_text.gain/light_text.gain settings.

    Also note that this mod works with any version of mozilla - 1.0 or 1.1, you don't need to get 1.2b and you don't need to recompile - and all you have to do is edit this file. (And yes, I was cursing when I found out just how easy it was to enable aa'ing!)


    70,74d69
    231c226
    ---
    > pref("font.FreeType2.enable", true);
    235c230
    ---
    > //pref("font.FreeType2.autohinted", false);
    238c233
    ---
    > pref("font.antialias.min", 1);
    241c236
    ---
    > pref("font.scale.tt_bitmap.dark_text.gain", "0");
    245a241
    > pref("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/drakfont");
    250,251c246,247
    ---
    > pref("font.scale.aa_bitmap.always", true);
    > pref("font.scale.aa_bitmap.min", 1);
    255c251
    ---
    > pref("font.scale.aa_bitmap.dark_text.gain", "0");

  57. I have a Geforce by matula · · Score: 2, Funny

    so i don't need no font antialiasing! :)

    --
    matula
  58. Re:I could swear.... by terraformer · · Score: 2, Insightful

    That is correct. Fonts (the files) themselves can be copyrighted but I not know if the ones that ship with the OS are. Just as an example, Adobe charges about $30 - $50 for recently released decorative fonts when purchased in individual packs. They get $8,999 (yes, that's right) for 2,750 ($3.27 per) fonts if you buy them in bulk. Imangine what the printing houses that publishers use to print their stuff have to pay for all of those fonts. Adobe is not the only one people use and the printing house has to have their own copy for their presses.

    --
    Who are you? The new #2 Who is #1? You are #617565. I am not a number, I am a free man! Muhahaha.
  59. Printers do anti-alias by wytcld · · Score: 4, Informative

    ... or something damn close to it. For an old HP LJIIIp that looks a lot better than an LJII, even though both are 300 dpi. It's because the IIIp uses smaller dots where appropriate at the edges. Many ink jet printers do the same thing. Not sure if anything at 1200 dpi bothers with this trick, but the trick's good enough that the quality difference between the IIIp at 300 dpi and a 600 dpi printer is very hard to see.

    --
    "with their freedom lost all virtue lose" - Milton
  60. Very screen specific by Looke · · Score: 2, Informative

    When this patch recently was included in Debian's freetype package, TrueType fonts became significantly more blurred on my 1024×768 LCD screen. Rebuilding with the patch disabled (and the bytecode interpreter turned on again) restored my fonts to normal.

    My point is that what looks good on my LCD monitor may look totally different on a hi-res 1600×1200 LCD or a normal CRT monitor. These things should be configurable, since there are different compile-time settings which give the best results on different screens.

    • Sub-pixel aliasing - is configurable, which is good.
    • Bytecode interpreter - is determined at compile-time, because of patent issues? That's not good :( (It does make a great difference, especially on small font sizes.)
    • "Ft slight" hack - is applied at compile-time, but should be made configurable when (if) included in the main freetype sources.
    • Anti-aliasing in general is very configurable, down to deciding which fonts in which sizes and variants should be anti-aliased. Great!

    What we need is a very configurable freetype, with good configuration/preview tools; and a general understanding of the highly different effects on different displays.

  61. Hmmm... isn't this a little dated now? by dabneyd · · Score: 2, Informative

    This is good if you're using KDE = 2 or Gnome 1, but if you're using the latest versions, it's find of obsolete. Actually, KDE has had font smoothing since sometime in v2. What I'm saying is, if you want really nice fonts, download the newest version of Gnome or KDE, whichever you prefer. Michael

  62. Re:Maybe... by Wee · · Score: 2
    Spare me the communist claptrap bud.

    You're too funny, man... Right on.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  63. Re:Maybe... by Wee · · Score: 2
    Yeah, that looks pretty good. I'll give it a shot and see how Ilike it. Thanks for the link!

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  64. Re:Maybe... by Archie+Steel · · Score: 2

    A screenshot would work fine for your screen. why not just stick it on your website? I'll do the same.

    D'oh! Now, why didn't I think of that first... :-) I can't just put a screenshot up by itself, though, I have to put it inside a web page: my apache is set up so that you can't browse the contents of a folder...I'm sure I can change that for a specific folder, but I really don't feel like touching the configuration right now - my motto is: it works, leave it alone!

    Check the screenshot here.

    The problem I see is that I'm using Cleartype on a 1600x1200 LCD.. and if I take a screenshot, you won't really see what I see unless you are using an LCD with the exact same physical structure as mine... it will actually look fuzzy on your screen.

    Actually, considering that the screen shot should be seen on a LCD, I must admit it looks pretty good. I can mentally compensate for the visual artifacts, of which there aren't that much (they don't look "fuzzy" as much as discolored). Pretty slick...

    Now, I don't how my screenshot (from a CRT) will look on your display...I've tried to include a couple of windows to show how the fonts behave under a variety of apps...mind you, KDE does a great job when it comes to font consistency (not to start a flame war...I haven't really tried Gnome2 yet).

    Well, looks like a draw to me...

    --

    Reminder: find a new sig
  65. A good example of a HOW NOT TO by njdj · · Score: 2

    3 pages of instructions to get decent fonts?

    Download this, unpack that, login as root ... That's not how to do it.

    Decent on-screen fonts in the default installation: that's the only way to do it. Linux fonts are seriously broken until it's done like that.

  66. Not Strange by "Zow" · · Score: 2

    A few years back, I was on Babble, the Cure mailing list. One day someone posted that they were recently in a car accident, and had been listening to the Cure at the time: not on tape, but on the radio. Suddenly, out of the wood work came a bunch of "Me-too"'s: people that had been in auto accidents or similar, and had been listening to the Cure at the time. Some started to think that this was some kind of omen, mentioning how disconcerting it was and the like, until one guy posted a response along the lines of: "Everyone on this list is a Cure fan. Because of that, everyone will have a tendancy to either listen to Cure tapes in their car, or tune to radio stations that play the Cure." That shut everyone up fast.

    The point here is that you're a Linux user. You read /. because it has a lot of stories about Linux and tweaking Linux. The fact that you were tweaking some aspect of your Linux system, went over to /. and saw a story about exactly what you were doing is not coincidential. It's a very basic statistical correlation.

    Now then, had you gone over to MSN and found an artical about tweaking fonts in Linux while in the midst of doing such, I'd say it's time to pull out the tin-foil hats, pack up the kids and head for the hills.

    -"Zow"

  67. Re:Redhat makes adding fonts even easier by Lendrick · · Score: 2

    If you're doing this under redhat 8, I'd love to see your screenshots (both with an without). Can you post links?