Class Type1FontFormatter

java.lang.Object
org.apache.fop.render.ps.Type1FontFormatter

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

  • Constructor Details

  • Method Details

    • format

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

      private void printFont(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output, String iStr) throws IOException
      Throws:
      IOException
    • printFontDictionary

      private void printFontDictionary(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output, String iStr) throws IOException
      Throws:
      IOException
    • printEexecFontDictionary

      private void printEexecFontDictionary(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output) throws IOException
      Throws:
      IOException
    • formatArray

      private static String formatArray(Object object, boolean executable)
    • formatArray

      private static String formatArray(Object object, NumberFormat format, boolean executable)
    • formatElement

      private static String formatElement(Object object, NumberFormat format)