Class PCLSoftFont


  • public class PCLSoftFont
    extends java.lang.Object
    • Field Detail

      • fontID

        private int fontID
      • charOffsets

        private java.util.Map<java.lang.Integer,​int[]> charOffsets
      • fontStream

        private java.io.InputStream fontStream
      • charsWritten

        private java.util.Map<java.lang.Integer,​java.lang.Integer> charsWritten
        Map containing unicode character and it's soft font codepoint
      • mappedChars

        private java.util.Map<java.lang.Character,​java.lang.Integer> mappedChars
      • charMtxPositions

        private java.util.Map<java.lang.Integer,​java.lang.Integer> charMtxPositions
      • multiByteFont

        private boolean multiByteFont
      • charCount

        private int charCount
    • Constructor Detail

      • PCLSoftFont

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

      • getTypeface

        public Typeface getTypeface()
      • getFontID

        public int getFontID()
      • setCharacterOffsets

        public void setCharacterOffsets​(java.util.Map<java.lang.Integer,​int[]> charOffsets)
      • getCharacterOffsets

        public java.util.Map<java.lang.Integer,​int[]> getCharacterOffsets()
      • getOpenFont

        public OpenFont getOpenFont()
      • setOpenFont

        public void setOpenFont​(OpenFont openFont)
      • getFontStream

        public java.io.InputStream getFontStream()
      • setFontStream

        public void setFontStream​(java.io.InputStream fontStream)
      • 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​(java.util.Map<java.lang.Integer,​java.lang.Integer> charMtxPositions)
      • getCharCount

        public int getCharCount()
      • setMappedChars

        public void setMappedChars​(java.util.Map<java.lang.Character,​java.lang.Integer> mappedChars)
      • getMappedChars

        public java.util.Map<java.lang.Character,​java.lang.Integer> getMappedChars()
      • getCharIndex

        public int getCharIndex​(char ch)
      • getCharCode

        public int getCharCode​(char ch)