Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
fdd20200
Commit
fdd20200
authored
May 18, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated windows freetype and xpdf build instruction
parent
bddf7079
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
README.txt
thirdparty/freetype/README.txt
+4
-0
README.txt
thirdparty/xpdf/README.txt
+4
-3
GString.cc
thirdparty/xpdf/xpdf-3.02/goo/GString.cc
+1
-1
No files found.
thirdparty/freetype/README.txt
View file @
fdd20200
...
...
@@ -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
...
...
thirdparty/xpdf/README.txt
View file @
fdd20200
...
...
@@ -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
...
...
thirdparty/xpdf/xpdf-3.02/goo/GString.cc
View file @
fdd20200
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment