fop-pdf-images 2.2

org.apache.fop.render.pdf.pdfbox
Class MergeFontsPDFWriter

java.lang.Object
  extended by org.apache.fop.render.pdf.pdfbox.PDFWriter
      extended by org.apache.fop.render.pdf.pdfbox.MergeFontsPDFWriter

public class MergeFontsPDFWriter
extends PDFWriter


Field Summary
protected  java.util.Map<org.apache.pdfbox.cos.COSName,java.lang.String> fontsToRemove
           
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.fop.render.pdf.pdfbox.PDFWriter
key, s
 
Constructor Summary
MergeFontsPDFWriter(org.apache.pdfbox.cos.COSDictionary fonts, org.apache.fop.fonts.FontInfo fontInfo, UniqueName key, java.util.Collection<java.lang.String> parentFonts, int mcid)
           
 
Method Summary
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)
           
 
Methods inherited from class org.apache.fop.render.pdf.pdfbox.PDFWriter
getCurrentMCID, processArg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log

fontsToRemove

protected java.util.Map<org.apache.pdfbox.cos.COSName,java.lang.String> fontsToRemove
Constructor Detail

MergeFontsPDFWriter

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)
Method Detail

writeText

public java.lang.String writeText(org.apache.pdfbox.pdmodel.common.PDStream pdStream)
                           throws java.io.IOException
Overrides:
writeText in class PDFWriter
Throws:
java.io.IOException

readPDFArguments

protected void readPDFArguments(org.apache.pdfbox.contentstream.operator.Operator op,
                                java.util.Collection<org.apache.pdfbox.cos.COSBase> arguments)
                         throws java.io.IOException
Overrides:
readPDFArguments in class PDFWriter
Throws:
java.io.IOException

getFont

protected FontContainer getFont(org.apache.pdfbox.cos.COSDictionary fontData)
                         throws java.io.IOException
Throws:
java.io.IOException

getName

protected static java.lang.String getName(java.lang.String name)

fop-pdf-images 2.2

Copyright 2007-2017 The Apache Software Foundation. All Rights Reserved.