fig2vect

SourceForge.net Logo
Yet another Fig to vector converter

Installation

PDF manual "fig2vect.pdf" available
german version "f2vde.pdf" available too
Installation from source (Unix/Linux)
Prerequisitions
Download
Installation procedure
Executable setup (Windows)
Installation from source on Windows
Configure whether or not to use UTF-8 encoding support

Installation from source (recommended for UNIX/Linux)

Prerequisitions

The following libraries are needed/recommended to install fig2vect:

Note: If you installed these packages using your OS vendors package management software make sure the header files... are also installed.
Some systems have separated packages: one for binaries and shared libraries and an additional one (mostly called "xxx developer support") containing C header files and other material needed to compile programs using the library.

Download

The source code is available at http://sourceforge.net/projects/fig2vect.

Installation procedure

The usual

./configure
make
make install
can be used to install the software.

Executable setup (recommended for Windows)

Windows users should obtain an executable setup file dklibs-win32-*-setup.exe from http://sourceforge.net/projects/dklibs.
There are two versions:

Both executables install the dklibs library set and applications using the libraries (fig2vect is one of them). The *-dev-*.exe file is significantly larger than the *-user-*.exe file.

Installation from source on Windows

This is possible, of course. Good skills in using your development environment, C compiler linker and make program are required. The file http://dklibs.sourceforge.net/inst_w32.pdf contains additional information.

Configure whether or not to use UTF-8 encoding support

Fig2vect version 1.1.7 (and above) provides support for UTF-8 encoded texts in Fig files.
By default fig2vect inspects the LANG environment variable, if it ends on ``.UTF-8'' UTF-8 support is enabled, otherwise it is disabled.
This default setting is ok for users using XFig but not for jFig.
JFig -- or one of the libraries it uses -- is UTF-8-aware and converts UTF-8 encoded data from keyboard events into an internal representation and saves text in Fig files not UTF-8 encoded. So fig2vect must not UTF-8-decode the text again.
There are different ways to change the default setting:

When running fig2vect you can override the default setting specifying the ``-o utf-8=yes'' or ``-o utf-8=no'' command line options to fig2vect.


1 $sysconfdir is the system configuration directory, typically /etc or /usr/local/etc.