aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-07-03 08:06:01 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-07-03 08:06:01 +0000
commit2c79b6fb69f2a1402ed14ca7743f572511490c50 (patch)
tree6f5c714e59c93795a4f4b7ceecd12e06008d7835
parentab426a49d46ec69b80e6accccd537522477df5b3 (diff)
parent2a7e60cb3390a91d428fb607c0e19eaa911ec5b9 (diff)
downloadxmlgraphics-fop-2c79b6fb69f2a1402ed14ca7743f572511490c50.tar.gz
xmlgraphics-fop-2c79b6fb69f2a1402ed14ca7743f572511490c50.zip
Merged in trunk@1356456
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1356601 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fonts/truetype/TTFFile.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/truetype/TTFFile.java b/src/java/org/apache/fop/fonts/truetype/TTFFile.java
index 05f61750e..878af1124 100644
--- a/src/java/org/apache/fop/fonts/truetype/TTFFile.java
+++ b/src/java/org/apache/fop/fonts/truetype/TTFFile.java
@@ -1841,6 +1841,8 @@ public class TTFFile {
* @throws IOException In case of an I/O problem
*/
public final List<String> getTTCnames(FontFileReader in) throws IOException {
+ this.fontFile = in;
+
List<String> fontNames = new ArrayList<String>();
String tag = in.readTTFString(4);