pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1854897 - /pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java
Date Wed, 06 Mar 2019 07:36:38 GMT
Author: tilman
Date: Wed Mar  6 07:36:37 2019
New Revision: 1854897

URL: http://svn.apache.org/viewvc?rev=1854897&view=rev
Log:
PDFBOX-4479: replace character that possibly doesn't work on jdk6

Modified:
    pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java

Modified: pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java?rev=1854897&r1=1854896&r2=1854897&view=diff
==============================================================================
--- pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java
(original)
+++ pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java
Wed Mar  6 07:36:37 2019
@@ -230,7 +230,7 @@ public class TTFSubsetterTest
         final File testFile = new File("src/test/resources/ttf/LiberationSans-Regular.ttf");
         TrueTypeFont ttf = new TTFParser().parse(testFile);
         TTFSubsetter ttfSubsetter = new TTFSubsetter(ttf);
-        ttfSubsetter.add('Ö');
+        ttfSubsetter.add('\u00D6'); // 'Ö' doesn't work with jdk6 (PDFBOX-3757)?
         ttfSubsetter.add('\u200A');
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         ttfSubsetter.writeToStream(baos);



Mime
View raw message