summaryrefslogtreecommitdiffstats
path: root/rules/poppler.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-11-24 08:57:40 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-11-24 17:00:30 +0100
commit8702f04c00e3c252bfb46d1c74a492783b039e1d (patch)
tree2ba51b2ba09fcb31dd7c5314697d48eba15280fd /rules/poppler.in
parent87089f53a2cfc7db1b302084af68aec5ca752397 (diff)
downloadptxdist-8702f04c00e3c252bfb46d1c74a492783b039e1d.tar.gz
ptxdist-8702f04c00e3c252bfb46d1c74a492783b039e1d.tar.xz
poppler: fix floating point / fixed point handling
POPPLER_SINGLE / POPPLER_FIXED don't exist. The options are called POPPLER_SPLASH_SINGLE / POPPLER_SPLASH_FIXED. Also add an option to enforce using double precision. This is needed for cups-filter. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/poppler.in')
-rw-r--r--rules/poppler.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/rules/poppler.in b/rules/poppler.in
index 824c5e031..41f9b8a44 100644
--- a/rules/poppler.in
+++ b/rules/poppler.in
@@ -105,9 +105,16 @@ config POPPLER_SPLASH_CMYK
bool
prompt "enable CMYK raster support"
+config POPPLER_SPLASH_DOUBLE
+ bool
+ prompt "use double precision float arithmetic"
+ help
+ Use double precision floating point arithmetic in Splash backend
+
config POPPLER_SPLASH_SINGLE
bool
prompt "use single precision float arithmetic"
+ depends on !POPPLER_SPLASH_DOUBLE
help
Use single precision instead of double precision floating point
arithmetic in Splash backend
@@ -115,7 +122,7 @@ config POPPLER_SPLASH_SINGLE
config POPPLER_SPLASH_FIXED
bool
prompt "use fixed point arithmetic"
- depends on !POPPLER_SPLASH_SINGLE
+ depends on !POPPLER_SPLASH_SINGLE && !POPPLER_SPLASH_DOUBLE
help
If enabled, the Splash backend will use floating point operations
instead of fixed-point arithmetic.