X.org MS TrueType Fonts

Hello guys. Sorry for stupid and bad question but is there a way to install MS TrueType fonts to FreeBSD. If there is one please can you advice.
Alternatively, just copy the ttf files from a windows install (c:\windows\fonts\ , I think) to /usr/local/share/fonts/ . This should work for the new C fonts (Candara, Calibri, Consolas etc) as well, if you've got them.
I'll try to find them on my laptop were i have windows vista...guess I'll erase it soon if I'll manage to do my wi-fi work.
Also remember that if you have a Windows license to build with the
option to get the main pre Vista Windows menu interface font.
I observed that most fonts in Win Vista are Open Type, I try to get the fonts from an WinXP machine today.
By the way, lots of the fonts stuff in the FreeBSD handbook is horribly outdated. The proper way to activate subpixel rendering and making sure that the system does not use bitmap fonts has changed. It's just getting into your PREFIX/etc/fonts/conf.d directory and symlinking all the features you want from ../conf.avail/.

Of course there are dialogues for gnome and kde, but doing it yourself makes it work everywhere.

Unfortunately I'm unable to find a decent howto in the Xorg.conf Wiki. But I suppose I can hack something together for doc@ to update the whole thing.
Something I highly recommend is installing a Helvetica replacement font. Xorg out the box ships only with a bitmap Helvetica, and it's the only Helvetica available unless you're willing to cough up for a licensed copy from Adobe.

But /usr/ports/x11-fonts/urwfonts is an open source font package which has a Helvetica look alike (among others). Their look alike is called Nimbus Sans L and I think the default system fonts configuration mentioned above replaces the bitmapped Helvetica with it if it's available.

If you've ever browsed the web and wondered why some sites have horrible looking fonts, chances are they're using Helvetica and you only have the bitmap version running.
Or you can use Arial, which was designed to be a Helvetica-lookalike.
(It's subtly different and arguably not quite as elegant as the original, but more than close enough for this use.)
Yea, that's what Windows does. I'm not sure if the stock font config will remap Helvetica to Arial though. You could probably use something like this in ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  <match target="pattern" >
  <test name="family" qual="any" >
  <edit mode="assign" name="family" >
# cd /usr/local/etc/fonts/conf.d
# ln -s ../conf.avail/70-no-bitmaps.conf
# ln -s ../conf.avail/10-sub-pixel-rgb.conf

This makes a lot of difference. The most important font packages are to me URW, bitstream and webfonts. I put fonts that I use for graphics design like calligraphy or hand script fonts into my ~/.fonts/ directory. So that I don't have to dirty /usr/local with stuff that wasn't installed by a port.
The look of the web pages changed a lot after installing /x11-fonts/webfonts.

Thanks a log guys.
Truetype fonts path

SoulStealer said:
I used the handbook info for font installation (TrueType), it does work nicely, anything I should know about it?


I am trying to understand TrueType font installation; the Handbook states
Now make a directory for the TrueType fonts (...) and copy all of the TrueType fonts into this directory.

How may I know where are the TrueType fonts installed? I installed package xorg-fonts-type1-7.4; are there anymore packages with TrueType fonts?)

Thanks in advance.