aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop')
-rw-r--r--src/org/apache/fop/fonts/TTFSubSetFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/fonts/TTFSubSetFile.java b/src/org/apache/fop/fonts/TTFSubSetFile.java
index e8d3e34cf..065d25b7d 100644
--- a/src/org/apache/fop/fonts/TTFSubSetFile.java
+++ b/src/org/apache/fop/fonts/TTFSubSetFile.java
@@ -577,7 +577,7 @@ public class TTFSubSetFile extends TTFFile {
* Check if TrueType collection, and that the name
* exists in the collection
*/
- if (!checkTTC(in, name, false))
+ if (!checkTTC(in, name))
throw new IOException("Failed to read font");
output = new byte[in.getFileSize()];