Package org.apache.fop.render.pcl.fonts
Class PCLSoftFont
java.lang.Object
org.apache.fop.render.pcl.fonts.PCLSoftFont
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intMap containing unicode character and it's soft font codepointprivate Typefaceprivate intprivate InputStreamprivate booleanprivate OpenFontprivate FontFileReader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCharCode(char ch) intintgetCharIndex(char ch) intgetCmapGlyphIndex(int unicode) intintgetMtxCharIndex(int unicode) intgetUnicodeCodePoint(int unicode) booleanhasPreviouslyWritten(int unicode) voidsetCharacterOffsets(Map<Integer, int[]> charOffsets) voidsetFontStream(InputStream fontStream) voidsetMappedChars(Map<Character, Integer> mappedChars) voidsetMtxCharIndexes(Map<Integer, Integer> charMtxPositions) voidsetOpenFont(OpenFont openFont) voidsetReader(FontFileReader reader) voidwriteCharacter(int unicode)
-
Field Details
-
fontID
private int fontID -
font
-
charOffsets
-
openFont
-
fontStream
-
reader
-
charsWritten
Map containing unicode character and it's soft font codepoint -
mappedChars
-
charMtxPositions
-
multiByteFont
private boolean multiByteFont -
charCount
private int charCount
-
-
Constructor Details
-
PCLSoftFont
-
-
Method Details
-
getTypeface
-
getFontID
public int getFontID() -
setCharacterOffsets
-
getCharacterOffsets
-
getOpenFont
-
setOpenFont
-
getFontStream
-
setFontStream
-
getReader
-
setReader
-
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
-
getCharCount
public int getCharCount() -
setMappedChars
-
getMappedChars
-
getCharIndex
public int getCharIndex(char ch) -
getCharCode
public int getCharCode(char ch)
-