summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-11-16 01:17:56 +0100
committerAlbert Astals Cid <aacid@kde.org>2011-11-16 01:17:56 +0100
commitd97cbcb990cf10ce16e152139004e1b19ae86ddf (patch)
tree455abad8bcaf59785f44d3b646730d9abb9788e6
parent42808aab0bb72ef74baec7db0d233166cb7abca9 (diff)
this is to account for xi overflows, we already have our own way to deal with it
-rw-r--r--ALL_DIFF47
1 files changed, 0 insertions, 47 deletions
diff --git a/ALL_DIFF b/ALL_DIFF
index 70b1b9f..e74e3e8 100644
--- a/ALL_DIFF
+++ b/ALL_DIFF
@@ -12427,53 +12427,6 @@ diff -ru xpdf-3.02/xpdf/GlobalParams.h xpdf-3.03/xpdf/GlobalParams.h
GString *urlCommand; // command executed for URL links
GString *movieCommand; // command executed for movie annotations
GBool mapNumericCharNames; // map numeric char names (from font subsets)?
-diff -ru xpdf-3.02/xpdf/Lexer.cc xpdf-3.03/xpdf/Lexer.cc
---- xpdf-3.02/xpdf/Lexer.cc 2007-02-27 23:05:52.000000000 +0100
-+++ xpdf-3.03/xpdf/Lexer.cc 2011-08-15 23:08:53.000000000 +0200
-@@ -142,19 +142,20 @@
- case '5': case '6': case '7': case '8': case '9':
- case '-': case '.':
- neg = gFalse;
-- xi = 0;
-+ xf = xi = 0;
- if (c == '-') {
- neg = gTrue;
- } else if (c == '.') {
- goto doReal;
- } else {
-- xi = c - '0';
-+ xf = xi = c - '0';
- }
- while (1) {
- c = lookChar();
- if (isdigit(c)) {
- getChar();
- xi = xi * 10 + (c - '0');
-+ xf = xf * 10 + (c - '0');
- } else if (c == '.') {
- getChar();
- goto doReal;
-@@ -162,19 +163,19 @@
- break;
- }
- }
- if (neg) {
- xi = -xi;
- }
- obj->initInt(xi);
- break;
- doReal:
-- xf = xi;
- scale = 0.1;
- while (1) {
- c = lookChar();
- if (c == '-') {
- // ignore minus signs in the middle of numbers to match
- // Adobe's behavior
- error(errSyntaxWarning, getPos(), "Badly formatted number");
- getChar();
- continue;
- }
Només a xpdf-3.03/xpdf: OptionalContent.cc
Només a xpdf-3.03/xpdf: OptionalContent.h
diff -ru xpdf-3.02/xpdf/OutputDev.cc xpdf-3.03/xpdf/OutputDev.cc