Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 14:41:02 -0400 (EDT)
From:      Vivek Khera <khera@kciLink.com>
To:        "FreeBSD-STABLE Mailing List" <freebsd-stable@freebsd.org>
Subject:   Re: Fonts under FreeBSD
Message-ID:  <14762.45630.691454.805147@onceler.kciLink.com>
In-Reply-To: <PHEBIOJOBJJLIIJCOINKMEMECHAA.noor@comrax.com>
References:  <PHEBIOJOBJJLIIJCOINKMEMECHAA.noor@comrax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "ND" == Noor Dawod <noor@comrax.com> writes:

ND> How can I transform Windows TTF fonts to be available under
ND> FreeBSD? I understand that there are several ways of saving fonts
ND> under FreeBSD, and I don't know what they are. Before I start
ND> reading about this, I wanted to know if it's possible to transform
ND> Windows TTF fonts to FreeBSD font format.

If by "FreeBSD font format" you mean to make them usable with the X
Window System, then all you need to do is install the xfstt port, the
fonts you want, and then tell your X server to use the font server.

Details:

cd /usr/ports/x11-servers/Xfstt; make install
cd /usr/ports/x11-fonts/ttmkfdir; make install

put your *.TTF fonts somewhere, such as /usr/local/share/fonts/truetype

I had to also symlink /usr/X11R6/lib/X11/fonts/TrueType to the above
directory.  Run ttmkfdir in that directory, and direct output to
"fonts.scale".

run xfstt telling it where to look for your fonts.

add "unix/:7101" to your XFree font path using either xset or adding
it to your XF86Config file.

you now have access to your *.ttf fonts.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-301-545-6996
GPG & MIME spoken here            http://www.khera.org/~vivek/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14762.45630.691454.805147>