Prettier Fonts in X?
routecoder asks: "X11 is great, but one of its significant disadvantages is its treatment of fonts. Netscape in X11 is frankly ugly, fonts are chunky, they scale poorly making some sites are hard to read. Are there any good tools available to make X prettier? If not, what would it take to build more asthetically pleasing font support?" This has always been one of the largest complaints about X11 that I've heard from many Microsoft supporters. Is XFree86 v4 going to address any of these issues? How substantial would changes need to be to make font support in X comparable to or better than that which is in Windows.
I think TrueType font support will be included in XFree86 4.0, along with anti-aliasing support.
After a fun day programming radios (what? They're not working? no wonder... erm, they're programmable, yes.. WHAT!! WHO changed all the channels to different frequencies?? Where's the book to reprogram them?!?! etc, end rant. ) I decided to see if xfstt's true type fonts could help x look better... still in the process oif installing it, but apt-get install xfstt makes life a lot easier after a unfun day..
:)
erm, try xfstt. then you can use truetype fonts... I assume you've not tried that yet.
Sorry for the rant, long day.
p.s. How long has the "Post Anonymously" checkbox been there?
This sig left intentionally blank.
I know you can download MS's ttf fontpack from http://www.microsoft.com/typography/fontpack/defau lt.htm, but how do I install the fonts from the .exes under GNU/Linux? They're not self extracting zip files, and wine doesn't cooperate with them. Any hints?
Try downloading the URW fonts - there's a link somewhere on the Gimp website. These fonts are a scalable set of the common Postscript fonts.
Another common problem is that some X configurations have FontPath references to the 75 and 100 dpi directories without the unscaled keyword, typically at the end of the list of fontpaths. This leads to X scaling any 75 or 100 dpi font to fit if an exact match or scalable font is not found. Commenting out these lines should prevent this from happening. Netscape uses some odd sizes for the Times Roman font which doesn't help.
It may be a good idea to install the Gnome font viewer, part of the Gnome utilities. This will inidicate which fonts are currently installed, and if they are scaled or exact size matches.
Be careful if you install True Type fonts for Mandrake (and probably Red Hat 6.0 too). I found detailed step-by-step instructions for font installation that basically disabled my computer. There are programs ttmkfdir and makefontdir (or something similar) which you need to run to add fonts. When I added new fonts and ran them according to the instructions they gave no error messages and seemed to work correctly. When I restarted X the font server crashed. Since Mandrake is configured to get all fonts from the font server this caused the X server to go into a continuous crashing loop. If this happens to you you will need to boot into runlevel 3 or telnet in from another machine and put the old fontdir file back.
It certainly hasn't reached the drag-n-drop simplicity of Windows just yet.
http://www.sfu.ca/~yzhang/linux /truetype/index.html
This got me up and running with True Type Fonts in no time at all.
Also, for a great source of more "way out" TTF's take a look at http://www.acidcool.com
A little planning goes a long way...
In an email conversation which followed the last Slashdot discussion about adding antialiased font support to X, I came up with the following [probably unoriginal] idea:
Why not create a hand-antialiased font by building it up out of multiple standard monochrome BDF fonts, which you overlay in the same location using different colors (greys)?
For instance, to get a simple antialiased "a":
BDF 1, drawn with color black:
. # # # . .
. . . . #
. # # . #
# . . #
. # # . #
BDF 2, drawn with color 50% grey:
# . . . # . . .
. . . .
# . . #
. . . . #
# . . #
The combined output:
x # # # x
. . . . #
x # # x #
# . . # x
x # # x #
The advantage of this is that it can be done entirely with the existing font drawing mechanism (just invoked multiple times).
Think this'll fly?
Div.
But my grandest creation, as history will tell,
But my grandest creation, as history will tell,
Was Firefrorefiddle, the Fiend of the Fell.
You might want to just convert the truetype fonts to type 1.
http://quadrant.netspace.net.au/ttf2pt1/
here are some sites that I have found helpfull:
...thats all I can remember right now, the redhat page gives good instructions on getting ttf fonts setup under rh6.0
XFree86 Font Deuglification Mini HOW-TO
The Redhat White Paper explaining the font system in rh6.0
good luck
All these messages about TrueType fonts, but what about Postscript fonts? I got a whole bunch of nice Type 1 fonts on my Corel 3 CD. How do I make use of them under Linux?
Here are step-by-step instructions on how to 'install' type1 ('PostScript') fonts for use with X (and GhostScript, as well...).
You need a package called type1inst (get it from you favorite distro/ftp site).
mkdirhier /usr/local/share/fonts/corel
(you are free to choose a decent name :-)).
cd /usr/local/share/fonts/corel
type1inst
cat /usr/local/share/fonts/corel/Fontmap >> /etc/gs.Fontmap
(note the double '>' sign. Using a single '>' would overwrite the old /etc/gs.Fontmap file!).
You may as well use a text editor to do the job.
FontPath "/usr/local/share/fonts/corel"
xset fp+ /usr/local/share/fonts/corel
xset fp rehash
Now squeeze the hell out of the GIMP logo scripts!
Debian: pure GNU. Pure thrill.
-- bond (bondnumerica.it)
Regarding the scaled bitmap fonts stuff:
the correct order for the FontPaths in
Why this?
Because this way X serves the the unscaled font first (which is faster than the scalable one), but only if the exact size required is available.
Else, X looks for the scalable font of the same name and serves it.
BUT, if the scalable font can't be found and there is a bitmap font with the right name and not the right size, then X scales the bitmap font of the closest size to the one requested and serves it.
Il's always better than a blank window! ;-)
-- bond (bond-AT-numerica.it)
Somtimes compress executable archives can be unzipped using the zip command. Try: unzip filename.exe and see what happens.
I'm sorry. What I meant to say was 'please excuse me.'
what came out of my mouth was 'Move or I'll kill you!'
I am tired of people knocking X because of XFree86's performance! X is an excellent protocol, and it supports A Lot More Than You Think(tm) ... But it doesn't require all that it supports, in order to support lower-end machines; therefore some X servers, such as XFree, don't make X look as good as it really is. Don't get me wrong, I'm not knocking XFree--but since they have to spend all their time supporting new video cards, they can't really make an X server as good as, say, HP's.