From: Vincent Hennebert Date: Tue, 29 May 2012 15:33:54 +0000 (+0000) Subject: setBFEntries is deprecated, replaced with setCMap X-Git-Tag: fop-1_1rc1^2~1^2~7^2~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9107ba1eee67d9ec10dad051d43beaff77b13a77;p=xmlgraphics-fop.git setBFEntries is deprecated, replaced with setCMap git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1343780 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fonts/FontReader.java b/src/java/org/apache/fop/fonts/FontReader.java index a1766e46f..381eec7f4 100644 --- a/src/java/org/apache/fop/fonts/FontReader.java +++ b/src/java/org/apache/fop/fonts/FontReader.java @@ -307,7 +307,7 @@ public class FontReader extends DefaultHandler { multiFont.setWidthArray(wds); } else if ("bfranges".equals(localName)) { - multiFont.setBFEntries(bfranges.toArray(new BFEntry[0])); + multiFont.setCMap(bfranges.toArray(new BFEntry[0])); } text.setLength(0); //Reset text buffer (see characters()) }