aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2014-07-15 19:35:49 +0000
committerVincent Hennebert <vhennebert@apache.org>2014-07-15 19:35:49 +0000
commitc17e7bea1928df9ec8b2b6d24d4e0de100d3686d (patch)
tree6811f076ea97cc45d23562e972321f73289a1d92 /src/java/org/apache/fop/fonts
parentad635f4ff1b36c6c6a194e9a0aedda6ec0d93c06 (diff)
downloadxmlgraphics-fop-c17e7bea1928df9ec8b2b6d24d4e0de100d3686d.tar.gz
xmlgraphics-fop-c17e7bea1928df9ec8b2b6d24d4e0de100d3686d.zip
... And actually fix resulting warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1610825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fonts')
-rw-r--r--src/java/org/apache/fop/fonts/apps/TTFReader.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fonts/apps/TTFReader.java b/src/java/org/apache/fop/fonts/apps/TTFReader.java
index 40e11b570..12fc638b4 100644
--- a/src/java/org/apache/fop/fonts/apps/TTFReader.java
+++ b/src/java/org/apache/fop/fonts/apps/TTFReader.java
@@ -205,7 +205,8 @@ public class TTFReader extends AbstractFontReader {
* @return The TTF as an object, null if the font is incompatible.
* @throws IOException In case of an I/O problem
*/
- public TTFFile loadTTF(String fileName, String fontName, boolean useKerning, boolean useAdvanced) throws IOException {
+ public TTFFile loadTTF(String fileName, String fontName, boolean useKerning, boolean useAdvanced)
+ throws IOException {
TTFFile ttfFile = new TTFFile(useKerning, useAdvanced);
log.info("Reading " + fileName + "...");
InputStream stream = new FileInputStream(fileName);