Commit bbbde657 authored by Albert Astals Cid's avatar Albert Astals Cid

Don't use t1lib to render Type 1 fonts (it is crashing), use freetype

Clarify configure option --enable-multithreaded-kpdf
If you have warnings about HAVE_T1LIB_H beign defined twice re-run ./configure
BUGS: 99344

svn path=/trunk/kdegraphics/kpdf/; revision=389391
parent a950ddc7
......@@ -77,33 +77,16 @@ else
AC_DEFINE(HAVE_FSEEK64, 0)
fi
dnl #### Check for libt1
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
kpdf_have_t1lib=
KDE_CHECK_LIB(t1, T1_InitLib, [LIBT1="-lt1"; kpdf_have_t1lib=yes],
[
kpdf_have_t1lib=no
])
AC_SUBST(LIBT1)
if test $kpdf_have_t1lib = yes; then
AC_DEFINE_UNQUOTED(HAVE_T1LIB_H, 1, [Defines if your system has the t1 library])
else
AC_DEFINE_UNQUOTED(HAVE_T1LIB_H, 0, [Defines if your system has the t1 library])
fi
AC_LANG_RESTORE
dnl #### Enable the user to enable multithearind on xpdf
AC_ARG_ENABLE(multithreaded-kpdf,
AC_HELP_STRING([--enable-multithreaded-kpdf],[include support for multithreading in kpdf]),
AC_HELP_STRING([--enable-multithreaded-kpdf],[include support for multithreading in xpdf code inside kpdf. Has nothing to do with threaded generation of contents, this is configurable via a dialog inside the program itself]),
[
case $enableval in
yes)
AC_DEFINE(MULTITHREADED, 1, [Defines if use multithreading in kpdf])
AC_DEFINE(MULTITHREADED, 1, [Defines if use multithreading in xpdf code inside kpdf])
;;
*)
AC_DEFINE(MULTITHREADED, 0, [Defines if use multithreading in kpdf])
AC_DEFINE(MULTITHREADED, 0, [Defines if use multithreading in xpdf code inside kpdf])
;;
esac
]
......
......@@ -3,6 +3,7 @@
#include <config.h>
#define HAVE_T1LIB_H 0
#define HAVE_FREETYPE_H HAVE_FREETYPE
#define HAVE_FREETYPE_FREETYPE_H HAVE_FREETYPE
#define OPI_SUPPORT 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment