Fixed bug relative to pdf character visualization

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent 69f5b70d94
commit 4769e14ff6
  1. 12
      thirdparty/freetype/README.txt
  2. 7
      thirdparty/freetype/freetype.pro
  3. 2
      thirdparty/libs.pri
  4. 6
      thirdparty/xpdf/README.txt
  5. 2
      thirdparty/xpdf/xpdf-3.02/splash/Makefile
  6. 4
      thirdparty/xpdf/xpdf-3.02/xpdf/Makefile
  7. 8
      thirdparty/xpdf/xpdf.pro

@ -3,8 +3,10 @@ How to build freetype
instructions
1. Download freetype (http://www.freetype.org/download.html#stable)
2. Decompress freetype.XXX.tar.gz
3. Update on freetype.pro file the freetype directory
4. Run qmake freetype.pro (on mac add -spec macx-g++)
5. Run make
- Download freetype (http://www.freetype.org/download.html#stable)
- Decompress freetype.XXX.tar.gz
LINUX:
- qmake freetype.pro -spec linux-g++
- make

@ -29,11 +29,10 @@ INCLUDEPATH += "$$FREETYPE_DIR_WITH_VERSION/include"
DEFINES = "FT2_BUILD_LIBRARY"
FREETYPE_DIR = "$$[UNIBOARD_DIR]/thirdparty/freetype/$$FREETYPE_DIR_WITH_VERSION"
target.path = "$$FREETYPE_DIR/lib"
ft2build.path = "$$FREETYPE_DIR/include"
target.path = "lib"
ft2build.path = "$$FREETYPE_DIR_WITH_VERSION/include"
ft2build.files = "$$FREETYPE_DIR_WITH_VERSION/include/ft2build.h"
headers.path = "$$FREETYPE_DIR/include/freetype"
headers.path = "$$FREETYPE_DIR_WITH_VERSION/include/freetype"
headers.files = "$$FREETYPE_DIR_WITH_VERSION/include/freetype/config" "$$FREETYPE_DIR_WITH_VERSION/include/freetype/*.h"
INSTALLS += "target" "ft2build" "headers"

@ -12,7 +12,7 @@ win32 {
}
FREETYPE_DIR = "$$PWD/freetype/freetype-2.4.4"
LIBS += "-L"$$PWD/freetype/lib/$$SUB_LIB" "-lfreetype"
LIBS += "-L$$PWD/freetype/lib/$$SUB_LIB" "-lfreetype"
# no INCLUDEPATH, freetype is not used directly
XPDF_DIR = "$$PWD/xpdf/xpdf-3.02"

@ -15,7 +15,11 @@ OSX:
- run ./configure (may need extrea options ?)
Linux:
- run ./configure
- cd xpdf-3.02
- ./configure --with-freetype2-library="../../freetype/lib/linux" --with-freetype2-includes="../../freetype/freetype-2.4.4/include"
- cd ..
- qmake xpdf.pdf -spec linux-g++
- make:
- Run qmake (-spec macx-g++ on OSX)
- Run make (nmake on windows)

@ -16,7 +16,7 @@ GOOLIBDIR = ../goo
FOFISRCDIR = $(srcdir)/../fofi
FOFILIBDIR = ../fofi
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir) -I../../freetype/freetype-2.4.4/include
CXX = g++
AR = ar rc

@ -19,12 +19,12 @@ FOFILIBDIR = ../fofi
SPLASHSRCDIR = $(srcdir)/../splash
SPLASHLIBDIR = ../splash
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir)
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) -I../../freetype/freetype-2.4.4/include
LDFLAGS =
T1LIBS =
FTLIBS =
FTLIBS = -L../../freetype/lib/linux -lfreetype
XLIBS = -lXt -lXext -lSM -lICE -lX11

@ -1,5 +1,5 @@
TEMPLATE = lib
CONFIG += staticlib release warn_off
CONFIG += staticlib release
XPDF_DIR = "xpdf-3.02"
@ -21,15 +21,15 @@ OBJECTS_DIR = "objects"
macx {
CONFIG += x86 ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = "10.4"
QMAKE_MACOSX_DEPLOYMENT_TARGET = "10.5"
}
# Free type includes and lib
FREETYPE_DIR = "../freetype/freetype-2.4.4"
INCLUDEPATH += "$$FREETYPE_DIR/include" "$$FREETYPE_DIR/include/freetype2"
LIBS += "-Lfreetype/lib" "-lfreetype"
LIBS += "-L../freetype/lib/$$SUB_LIB" "-lfreetype"
INCLUDEPATH += $$XPDF_DIR $$XPDF_DIR "$$XPDF_DIR/fofi" "$$XPDF_DIR/goo" "$$XPDF_DIR/splash" "$$XPDF_DIR/include" xpdf-3.02Extra
INCLUDEPATH += $$XPDF_DIR "$$XPDF_DIR/fofi" "$$XPDF_DIR/goo" "$$XPDF_DIR/splash" "$$XPDF_DIR/include" "xpdf-3.02Extra"
aconf.path = $$XPDF_DIR
aconf.files = $$XPDF_DIR/aconf.h

Loading…
Cancel
Save