diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-10-22 09:16:37 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-10-22 09:16:37 +0000 |
commit | 7839918c68148893089fc8c0cb90131a724a563a (patch) | |
tree | 615174b95de99070bd30fd2f6a8da9746ea3bc33 /src/java/org/apache | |
parent | fefb13937508ff4c2c07b65d367b02fd2ddd2f50 (diff) | |
download | xmlgraphics-fop-7839918c68148893089fc8c0cb90131a724a563a.tar.gz xmlgraphics-fop-7839918c68148893089fc8c0cb90131a724a563a.zip |
Bugzilla #47711:
Fixed generation of CIDSet object in PDF output.
Submitted by: Nicolas Peninguy <nico.at.lostgeeks.org>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@828516 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/fonts/CIDSubset.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fonts/CIDSubset.java b/src/java/org/apache/fop/fonts/CIDSubset.java index c2505488b..6be4007ea 100644 --- a/src/java/org/apache/fop/fonts/CIDSubset.java +++ b/src/java/org/apache/fop/fonts/CIDSubset.java @@ -161,12 +161,12 @@ public class CIDSubset { } /** - * Returns a BitSet with bits set for each available glyph index. + * Returns a BitSet with bits set for each available glyph index in the subset. * @return a BitSet indicating available glyph indices */ public BitSet getGlyphIndexBitSet() { BitSet bitset = new BitSet(); - Iterator iter = usedGlyphs.keySet().iterator(); + Iterator iter = usedGlyphsIndex.keySet().iterator(); while (iter.hasNext()) { Integer cid = (Integer)iter.next(); bitset.set(cid.intValue()); |