Class PCLSoftFont

java.lang.Object
org.apache.fop.render.pcl.fonts.PCLSoftFont

public class PCLSoftFont extends Object
  • Field Details

    • fontID

      private int fontID
    • font

      private Typeface font
    • charOffsets

      private Map<Integer,int[]> charOffsets
    • openFont

      private OpenFont openFont
    • fontStream

      private InputStream fontStream
    • reader

      private FontFileReader reader
    • charsWritten

      private Map<Integer,Integer> charsWritten
      Map containing unicode character and it's soft font codepoint
    • mappedChars

      private Map<Character,Integer> mappedChars
    • charMtxPositions

      private Map<Integer,Integer> charMtxPositions
    • multiByteFont

      private boolean multiByteFont
    • charCount

      private int charCount
  • Constructor Details

    • PCLSoftFont

      public PCLSoftFont(int fontID, Typeface font, boolean multiByteFont)
  • Method Details

    • getTypeface

      public Typeface getTypeface()
    • getFontID

      public int getFontID()
    • setCharacterOffsets

      public void setCharacterOffsets(Map<Integer,int[]> charOffsets)
    • getCharacterOffsets

      public Map<Integer,int[]> getCharacterOffsets()
    • getOpenFont

      public OpenFont getOpenFont()
    • setOpenFont

      public void setOpenFont(OpenFont openFont)
    • getFontStream

      public InputStream getFontStream()
    • setFontStream

      public void setFontStream(InputStream fontStream)
    • getReader

      public FontFileReader getReader()
    • setReader

      public void setReader(FontFileReader reader)
    • writeCharacter

      public void writeCharacter(int unicode)
    • getUnicodeCodePoint

      public int getUnicodeCodePoint(int unicode)
    • hasPreviouslyWritten

      public boolean hasPreviouslyWritten(int unicode)
    • getMtxCharIndex

      public int getMtxCharIndex(int unicode)
    • getCmapGlyphIndex

      public int getCmapGlyphIndex(int unicode)
    • setMtxCharIndexes

      public void setMtxCharIndexes(Map<Integer,Integer> charMtxPositions)
    • getCharCount

      public int getCharCount()
    • setMappedChars

      public void setMappedChars(Map<Character,Integer> mappedChars)
    • getMappedChars

      public Map<Character,Integer> getMappedChars()
    • getCharIndex

      public int getCharIndex(char ch)
    • getCharCode

      public int getCharCode(char ch)