public class MergeFontsPDFWriter extends PDFWriter
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<org.apache.pdfbox.cos.COSName,java.lang.String> |
fontsToRemove |
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
MergeFontsPDFWriter(org.apache.pdfbox.cos.COSDictionary fonts,
org.apache.fop.fonts.FontInfo fontInfo,
UniqueName key,
java.util.Collection<java.lang.String> parentFonts,
int mcid) |
Modifier and Type | Method and Description |
---|---|
protected FontContainer |
getFont(org.apache.pdfbox.cos.COSDictionary fontData) |
protected static java.lang.String |
getName(java.lang.String name) |
protected void |
readPDFArguments(org.apache.pdfbox.contentstream.operator.Operator op,
java.util.Collection<org.apache.pdfbox.cos.COSBase> arguments) |
java.lang.String |
writeText(org.apache.pdfbox.pdmodel.common.PDStream pdStream) |
addCache, processArg
protected static final org.apache.commons.logging.Log log
protected java.util.Map<org.apache.pdfbox.cos.COSName,java.lang.String> fontsToRemove
public MergeFontsPDFWriter(org.apache.pdfbox.cos.COSDictionary fonts, org.apache.fop.fonts.FontInfo fontInfo, UniqueName key, java.util.Collection<java.lang.String> parentFonts, int mcid)
public java.lang.String writeText(org.apache.pdfbox.pdmodel.common.PDStream pdStream) throws java.io.IOException
protected void readPDFArguments(org.apache.pdfbox.contentstream.operator.Operator op, java.util.Collection<org.apache.pdfbox.cos.COSBase> arguments) throws java.io.IOException
readPDFArguments
in class PDFWriter
java.io.IOException
protected FontContainer getFont(org.apache.pdfbox.cos.COSDictionary fontData) throws java.io.IOException
java.io.IOException
protected static java.lang.String getName(java.lang.String name)
Copyright 2007-2024 The Apache Software Foundation. All Rights Reserved.