Class Type1FontFormatter

java.lang.Object
org.docx4j.fonts.fop.render.ps.Type1FontFormatter

public final class Type1FontFormatter
extends java.lang.Object
This class represents a formatter for a given Type1 font. author Villu Ruusmann
Version:
$Revision: 1.0 $
  • Constructor Summary

    Constructors
    Constructor Description
    Type1FontFormatter​(java.util.Map<java.lang.Integer,​java.lang.Integer> gids)  
  • Method Summary

    Modifier and Type Method Description
    byte[] format​(org.apache.fontbox.cff.CFFFont font, java.lang.String i)
    Read and convert a given CFFFont.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Type1FontFormatter

      public Type1FontFormatter​(java.util.Map<java.lang.Integer,​java.lang.Integer> gids)
  • Method Details

    • format

      public byte[] format​(org.apache.fontbox.cff.CFFFont font, java.lang.String i) throws java.io.IOException
      Read and convert a given CFFFont.
      Parameters:
      font - the given CFFFont
      i -
      Returns:
      the Type1 font
      Throws:
      java.io.IOException - if an error occurs during reading the given font