Can I install both Type1 and TrueType fonts? Can I install multiple
packages for each (Type1 and TrueType)?

I have XFree86 4.2.1 from new install of FreeBSD 4.7-RELEASE. When
describing installing TrueType fonts, the handbook is confusing, it
says:

XFree86 4.X has built in support for rendering TrueType fonts. There are two different modules that can enable this functionality. The freetype module is used in this example because it is more consistent with the other font rendering back-ends. To enable the freetype module just add the following line to the "Module" section of the /etc/X11/XF86Config file.

Load "freetype"

*** is that all for XFree86 4.x? The handbook then goes on to add:

For XFree86 3.3.X, a separate TrueType font server is needed. Xfstt is commonly used for this purpose. To install Xfstt, simply install the port x11-servers/Xfstt.

*** well, that doesn't apply to me, but the handbood goes on! and
*** therein lies my question: do these folowing paragraphs (which I
*** have included below) apply to 3.3.x or to BOTH 3.3.x *and* 4.x?

Now make a directory for the TrueType fonts (for example, /usr/X11R6/lib/X11/fonts/TrueType) and copy all of the TrueType fonts into this directory. Keep in mind that TrueType fonts cannot be directly taken from a Macintosh; they must be in Unix/DOS/Windows format for use by XFree86. Once the files have been copied into this directory, use ttmkfdir to create a fonts.dir file, so that the X font renderer knows that these new files have been installed. ttmkfdir is available from the FreeBSD Ports Collection as x11-fonts/ttmkfdir.

# cd /usr/X11R6/lib/X11/fonts/TrueType
# ttmkfdir > fonts.dir

Now add the TrueType directory to the font path. This is just the same as described above for Type1 fonts, that is, use

% xset fp+ /usr/X11R6/lib/X11/fonts/TrueType
% xset fp rehash

or add a FontPath line to the XF86Config file.



Thanks,

John


(c) Copyright 2002 John Daniels. All rights reserved.




_________________________________________________________________
Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to