public class MergeType1Fonts extends org.apache.fop.fonts.type1.Type1SubsetFile implements MergeFonts
| Constructor and Description |
|---|
MergeType1Fonts() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getMergedFontSubset() |
protected java.util.List<java.lang.String> |
readEncoding(java.util.List<java.lang.Integer> glyphs,
org.apache.fop.fonts.type1.PostscriptParser.PSElement encoding) |
void |
readFont(java.io.InputStream fontFile,
java.lang.String name,
FontContainer font,
java.util.Map<java.lang.Integer,java.lang.Integer> subsetGlyphs,
boolean cid) |
protected java.util.List<java.lang.String> |
searchEntries(java.util.HashMap<java.lang.Integer,java.lang.String> encodingEntries,
int glyph) |
protected java.io.ByteArrayOutputStream |
writeHeader(org.apache.fop.fonts.type1.PFBData pfbData,
org.apache.fop.fonts.type1.PostscriptParser.PSElement encoding) |
protected java.io.ByteArrayOutputStream |
writeMainSection(byte[] decoded,
java.util.List<org.apache.fop.fonts.type1.PostscriptParser.PSElement> mainSection,
org.apache.fop.fonts.type1.PostscriptParser.PSElement charStrings) |
public void readFont(java.io.InputStream fontFile,
java.lang.String name,
FontContainer font,
java.util.Map<java.lang.Integer,java.lang.Integer> subsetGlyphs,
boolean cid)
throws java.io.IOException
readFont in interface MergeFontsjava.io.IOExceptionpublic byte[] getMergedFontSubset()
throws java.io.IOException
getMergedFontSubset in interface MergeFontsjava.io.IOExceptionprotected java.util.List<java.lang.String> searchEntries(java.util.HashMap<java.lang.Integer,java.lang.String> encodingEntries,
int glyph)
searchEntries in class org.apache.fop.fonts.type1.Type1SubsetFileprotected java.util.List<java.lang.String> readEncoding(java.util.List<java.lang.Integer> glyphs,
org.apache.fop.fonts.type1.PostscriptParser.PSElement encoding)
protected java.io.ByteArrayOutputStream writeHeader(org.apache.fop.fonts.type1.PFBData pfbData,
org.apache.fop.fonts.type1.PostscriptParser.PSElement encoding)
throws java.io.IOException
writeHeader in class org.apache.fop.fonts.type1.Type1SubsetFilejava.io.IOExceptionprotected java.io.ByteArrayOutputStream writeMainSection(byte[] decoded,
java.util.List<org.apache.fop.fonts.type1.PostscriptParser.PSElement> mainSection,
org.apache.fop.fonts.type1.PostscriptParser.PSElement charStrings)
throws java.io.IOException
writeMainSection in class org.apache.fop.fonts.type1.Type1SubsetFilejava.io.IOExceptionCopyright 2007-2025 The Apache Software Foundation. All Rights Reserved.