}
/**
- * Adds the initial 3 glyphs which are the same for all CID subsets.
+ * Adds the first glyph which is reserved for .notdef for all CID subsets.
*/
- public void setupFirstThreeGlyphs() {
- // Make sure that the 3 first glyphs are included
+ public void setupFirstGlyph() {
usedGlyphs.put(new Integer(0), new Integer(0));
usedGlyphsIndex.put(new Integer(0), new Integer(0));
usedGlyphsCount++;
- usedGlyphs.put(new Integer(1), new Integer(1));
- usedGlyphsIndex.put(new Integer(1), new Integer(1));
- usedGlyphsCount++;
- usedGlyphs.put(new Integer(2), new Integer(2));
- usedGlyphsIndex.put(new Integer(2), new Integer(2));
- usedGlyphsCount++;
}
/**
* Default constructor
*/
public MultiByteFont() {
- // Make sure that the 3 first glyphs are included
- subset.setupFirstThreeGlyphs();
+ subset.setupFirstGlyph();
// Create a quasiunique prefix for fontname
synchronized (this.getClass()) {
documents. Example: the fix of marks layering will be such a case when it's done.
-->
<release version="FOP Trunk" date="TBD">
+ <action context="Fonts" dev="JM" type="fix" fixes-bug="51144" due-to="Mehdi Houshmand">
+ Removed invalid entries in ToUnicode table of CID subset fonts.
+ </action>
<action context="Renderers" dev="JM" type="fix" fixes-bug="50899" due-to="Glenn Adams">
Fixed mapping of font weights between CSS values and TextAttribute.WEIGHT_*.
</action>