Class PCLTTFCharacterWriter
- java.lang.Object
-
- org.apache.fop.render.pcl.fonts.PCLCharacterWriter
-
- org.apache.fop.render.pcl.fonts.truetype.PCLTTFCharacterWriter
-
public class PCLTTFCharacterWriter extends PCLCharacterWriter
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<OFMtxEntry>
mtx
private OFDirTabEntry
tabEntry
-
Fields inherited from class org.apache.fop.render.pcl.fonts.PCLCharacterWriter
font, fontReader, openFont
-
-
Constructor Summary
Constructors Constructor Description PCLTTFCharacterWriter(PCLSoftFont softFont)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private PCLCharacterDefinition
getCharacterDefinition(int unicode)
private byte[]
getGlyphData(int charIndex)
byte[]
writeCharacterDefinitions(java.lang.String text)
private void
writePCLCharacter(java.io.ByteArrayOutputStream baos, PCLCharacterDefinition pclChar)
-
-
-
Field Detail
-
mtx
private java.util.List<OFMtxEntry> mtx
-
tabEntry
private OFDirTabEntry tabEntry
-
-
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 classPCLCharacterWriter
- 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
-
-