Package org.apache.fop.render.pcl.fonts
Class PCLCharacterDefinition
java.lang.Object
org.apache.fop.render.pcl.fonts.PCLCharacterDefinition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Character Class used in PCL Character Descriptor See Table 11-51 from PCL 5 Specificationstatic enum
Character Format used in PCL Character Descriptor See Table 11-50 from PCL 5 Specification -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private List<PCLCharacterDefinition>
private byte[]
private boolean
private boolean
-
Constructor Summary
ConstructorsConstructorDescriptionPCLCharacterDefinition
(int charCode, PCLCharacterDefinition.PCLCharacterFormat charFormat, PCLCharacterDefinition.PCLCharacterClass charClass, byte[] glyfData, boolean isComposite) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompositeGlyph
(PCLCharacterDefinition composite) byte[]
byte[]
byte[]
getData()
private void
writeCharacterDescriptorHeader
(int continuation, ByteArrayOutputStream baos)
-
Field Details
-
charCode
private int charCode -
charDefinitionSize
private int charDefinitionSize -
glyfData
private byte[] glyfData -
hasContinuation
private boolean hasContinuation -
charFormat
-
charClass
-
composites
-
isComposite
private boolean isComposite
-
-
Constructor Details
-
PCLCharacterDefinition
public PCLCharacterDefinition(int charCode, PCLCharacterDefinition.PCLCharacterFormat charFormat, PCLCharacterDefinition.PCLCharacterClass charClass, byte[] glyfData, boolean isComposite)
-
-
Method Details
-
getCharacterCommand
- Throws:
IOException
-
getCharacterDefinitionCommand
- Throws:
IOException
-
getData
- Throws:
IOException
-
writeCharacterDescriptorHeader
private void writeCharacterDescriptorHeader(int continuation, ByteArrayOutputStream baos) throws IOException - Throws:
IOException
-
addCompositeGlyph
-
getCompositeGlyphs
-