Class PCLTTFCharacterWriter

    • Constructor Detail

      • PCLTTFCharacterWriter

        public PCLTTFCharacterWriter​(PCLSoftFont softFont)
                              throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeCharacterDefinitions

        public byte[] writeCharacterDefinitions​(java.lang.String text)
                                         throws java.io.IOException
        Specified by:
        writeCharacterDefinitions in class PCLCharacterWriter
        Throws:
        java.io.IOException
      • writePCLCharacter

        private void writePCLCharacter​(java.io.ByteArrayOutputStream baos,
                                       PCLCharacterDefinition pclChar)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getCharacterDefinition

        private PCLCharacterDefinition getCharacterDefinition​(int unicode)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getGlyphData

        private byte[] getGlyphData​(int charIndex)
                             throws java.io.IOException
        Throws:
        java.io.IOException