aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2016-10-14 09:02:56 +0000
committerSimon Steiner <ssteiner@apache.org>2016-10-14 09:02:56 +0000
commitcff195d6957cd413572440fccf952fbb5a6dc615 (patch)
tree1f903c08adb659bf7063de849ee42d8be934f857
parent6c65be5cbca3bf27343bc89ef5737f32e2535a90 (diff)
downloadxmlgraphics-fop-cff195d6957cd413572440fccf952fbb5a6dc615.tar.gz
xmlgraphics-fop-cff195d6957cd413572440fccf952fbb5a6dc615.zip
FOP-2656: Update to PDFBox 2.0.3
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1764839 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--fop-core/pom.xml2
-rw-r--r--fop-core/src/main/java/org/apache/fop/render/ps/Type1CharStringFormatter.java4
-rw-r--r--fop/lib/fontbox-2.0.3.jar (renamed from fop/lib/fontbox-2.0.0.jar)bin1476454 -> 1477680 bytes
3 files changed, 3 insertions, 3 deletions
diff --git a/fop-core/pom.xml b/fop-core/pom.xml
index 00ba4f08a..baf28e89a 100644
--- a/fop-core/pom.xml
+++ b/fop-core/pom.xml
@@ -100,7 +100,7 @@
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>fontbox</artifactId>
- <version>2.0.0</version>
+ <version>2.0.3</version>
</dependency>
<!-- test deps -->
<dependency>
diff --git a/fop-core/src/main/java/org/apache/fop/render/ps/Type1CharStringFormatter.java b/fop-core/src/main/java/org/apache/fop/render/ps/Type1CharStringFormatter.java
index 0a6613a36..8d068c988 100644
--- a/fop-core/src/main/java/org/apache/fop/render/ps/Type1CharStringFormatter.java
+++ b/fop-core/src/main/java/org/apache/fop/render/ps/Type1CharStringFormatter.java
@@ -41,8 +41,8 @@ public class Type1CharStringFormatter {
for (Object object : sequence) {
if (object instanceof CharStringCommand) {
writeCommand((CharStringCommand) object);
- } else if (object instanceof Integer) {
- writeNumber((Integer) object);
+ } else if (object instanceof Number) {
+ writeNumber(((Number) object).intValue());
} else {
throw new IllegalArgumentException();
}
diff --git a/fop/lib/fontbox-2.0.0.jar b/fop/lib/fontbox-2.0.3.jar
index 3edbcfb83..20ef2028b 100644
--- a/fop/lib/fontbox-2.0.0.jar
+++ b/fop/lib/fontbox-2.0.3.jar
Binary files differ