Updated windows freetype and xpdf build instruction

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent bddf707909
commit fdd202001b
  1. 4
      thirdparty/freetype/README.txt
  2. 7
      thirdparty/xpdf/README.txt
  3. 2
      thirdparty/xpdf/xpdf-3.02/goo/GString.cc

@ -6,6 +6,10 @@ instructions
- Download freetype (http://www.freetype.org/download.html#stable)
- Decompress freetype.XXX.tar.gz
WIN
- qmake
- nmake
MAC
- qmake freetype.pro -spec macx-g++
- make

@ -7,9 +7,10 @@ instructions for version 3.02
- Decompress xpdf-3.02.xx.tar.gz
Windows:
- using cywin run ./configure
- run qmake xpdf.pro -r -spec win32-g++
- run make
- copy xpdf-3.02/aconf-win32.h into xpdf-3.02/aconf.h
- edit xpdf-3.02/aconf.h, add this line "#undef UNICODE"
- qmake
- nmake
OSX:
- cd xpdf-3.02

@ -528,7 +528,7 @@ void GString::formatDouble(double x, char *buf, int bufSize, int prec,
if ((neg = x < 0)) {
x = -x;
}
x = floor(x * pow(10, prec) + 0.5);
x = floor(x * pow(10.0, prec) + 0.5);
i = bufSize;
started = !trim;
for (j = 0; j < prec && i > 1; ++j) {

Loading…
Cancel
Save