PDF tools based on Xpdf 4.02.
To build Xpdf without Qt dependency, open cmake-config.txt
and remove the block the checks for the library. (#--- look for Qt
). Otherwise, CMake configure fails. Note that only the xpdf
tool requires Qt. For this project, we want to build libfofi
libgoo
libxpdf_objs
libsplash
.
in CMake, set CMAKE_EXE_LINKER_FLAGS
"-lfontconfig -L{LIBRARY_SEARCH_PATH}"
generate UNIX Makefile
in aconf.c, set
#define HAVE_FREETYPE_H 1