forked from pool/scribus
39 lines
1.7 KiB
Diff
39 lines
1.7 KiB
Diff
From 12586a9c2f02017cd55b98c36180e9ca2efb3135 Mon Sep 17 00:00:00 2001
|
|
From: jghali <jghali@11d20701-8431-0410-a711-e3c959e3b870>
|
|
Date: Tue, 5 Mar 2024 16:42:40 +0000
|
|
Subject: [PATCH] Fix incorrect value used in initial build fix against poppler
|
|
24.03. See
|
|
https://gitlab.freedesktop.org/poppler/poppler/-/commit/6e3824d45d42cb806a28a2df84e4ab6bb3587083
|
|
for details.
|
|
|
|
git-svn-id: svn://scribus.net/trunk/Scribus@26047 11d20701-8431-0410-a711-e3c959e3b870
|
|
---
|
|
scribus/plugins/import/pdf/slaoutput.cpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/scribus/plugins/import/pdf/slaoutput.cpp b/scribus/plugins/import/pdf/slaoutput.cpp
|
|
index 2f4209e..e879db6 100644
|
|
--- a/scribus/plugins/import/pdf/slaoutput.cpp
|
|
+++ b/scribus/plugins/import/pdf/slaoutput.cpp
|
|
@@ -1872,7 +1872,7 @@ GBool SlaOutputDev::axialShadedFill(GfxState *state, GfxAxialShading *shading, d
|
|
}
|
|
}
|
|
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(24, 3, 0)
|
|
- else if ((func->getType() == Function::Type::Exponential) || (func->getType() == Function::Type::Identity))
|
|
+ else if ((func->getType() == Function::Type::Exponential) || (func->getType() == Function::Type::Sampled))
|
|
#else
|
|
else if ((func->getType() == 2) || (func->getType() == 0))
|
|
#endif
|
|
@@ -2014,7 +2014,7 @@ GBool SlaOutputDev::radialShadedFill(GfxState *state, GfxRadialShading *shading,
|
|
}
|
|
}
|
|
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(24, 3, 0)
|
|
- else if ((func->getType() == Function::Type::Exponential) || (func->getType() == Function::Type::Identity))
|
|
+ else if ((func->getType() == Function::Type::Exponential) || (func->getType() == Function::Type::Sampled))
|
|
#else
|
|
else if ((func->getType() == 2) || (func->getType() == 0))
|
|
#endif
|
|
--
|
|
2.44.0
|
|
|