The K Desktop Environment

Next Previous Table of Contents

4. Installation

4.1 How to obtain the KFontinst

The latest version of KFontinst can be found at www.cpdrummond.uklinux.net/kfontinst

4.2 Requirements

In order to successfully compile KFontinst, you will need to have the follwing installed:

  1. KDE >= 2.0 Note: You only need the KDE libraries, running KDE itself is optional.
  2. Qt >= 2.2.1
  3. FreeType >= 1.3.1

To preview Type1 fonts, you will also need t1lib >= 1.0.1. If you don't use this library, then everything apart from Type1 previews will still function.

In order for KFontinst to function correctly you will also need to have the following installed:

  1. Perl - this is required by the afm.pl perl script used to modify .afm files to be slightly more StarOffice friendly.
  2. GNU groff - type1inst requires the pfbtops utility from the GNU groff package.
  3. Ghostscript - required in order to use the pf2afm.ps script.

4.3 Compilation and installation

In order to compile and install KFontinst on your system, type the following in the base directory of the KFontinst distribution:

 
% ./configure
% make
% make install

Notes:

  1. make install should be performed by `root'.
  2. On some systems (e.g. where both KDE1 and KDE2 are installed), you may need to ./configure with ./configure --prefix=<KDE2 dir> - e.g. ./configure --prefix=/opt/kde2
  3. In some situations, you may also have to use --with-qt-dir=<Qt2 dir> - e.g. ./configure --with-qt-dir=/usr/lib/qt2

Next Previous Table of Contents