]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
setBFEntries is deprecated, replaced with setCMap
authorVincent Hennebert <vhennebert@apache.org>
Tue, 29 May 2012 15:33:54 +0000 (15:33 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Tue, 29 May 2012 15:33:54 +0000 (15:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1343780 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fonts/FontReader.java

index a1766e46fb69675a82b93f796b69e00ef3d51498..381eec7f4ae8bbb329b0a3aa91732cfdb74707c3 100644 (file)
@@ -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())
     }