blob: 5037bf1ba0272ff88d44b7f7c4b4c82239324d04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Enable compilation with -DPDF_PARSER_ONLY
from:
Derek B. Noonburg <derek@foolabs.com>
--- xpdf-3.02.orig/xpdf/Page.cc 2007-02-27 23:05:52.000000000 +0100
+++ xpdf-3.02/xpdf/Page.cc 2009-05-07 00:22:58.085044699 +0200
@@ -422,6 +422,7 @@
void Page::getDefaultCTM(double *ctm, double hDPI, double vDPI,
int rotate, GBool useMediaBox, GBool upsideDown) {
+#ifndef PDF_PARSER_ONLY
GfxState *state;
int i;
@@ -438,4 +439,5 @@
ctm[i] = state->getCTM()[i];
}
delete state;
+#endif
}
|