public class PCLSoftFont extends Object
Constructor and Description |
---|
PCLSoftFont(int fontID,
Typeface font,
boolean multiByteFont) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,int[]> |
getCharacterOffsets() |
int |
getCharCode(char ch) |
int |
getCharCount() |
int |
getCharIndex(char ch) |
int |
getCmapGlyphIndex(int unicode) |
int |
getFontID() |
InputStream |
getFontStream() |
Map<Character,Integer> |
getMappedChars() |
int |
getMtxCharIndex(int unicode) |
OpenFont |
getOpenFont() |
FontFileReader |
getReader() |
Typeface |
getTypeface() |
int |
getUnicodeCodePoint(int unicode) |
boolean |
hasPreviouslyWritten(int unicode) |
void |
setCharacterOffsets(Map<Integer,int[]> charOffsets) |
void |
setFontStream(InputStream fontStream) |
void |
setMappedChars(Map<Character,Integer> mappedChars) |
void |
setMtxCharIndexes(Map<Integer,Integer> charMtxPositions) |
void |
setOpenFont(OpenFont openFont) |
void |
setReader(FontFileReader reader) |
void |
writeCharacter(int unicode) |
public PCLSoftFont(int fontID, Typeface font, boolean multiByteFont)
public Typeface getTypeface()
public int getFontID()
public OpenFont getOpenFont()
public void setOpenFont(OpenFont openFont)
public InputStream getFontStream()
public void setFontStream(InputStream fontStream)
public FontFileReader getReader()
public void setReader(FontFileReader reader)
public void writeCharacter(int unicode)
public int getUnicodeCodePoint(int unicode)
public boolean hasPreviouslyWritten(int unicode)
public int getMtxCharIndex(int unicode)
public int getCmapGlyphIndex(int unicode)
public int getCharCount()
public int getCharIndex(char ch)
public int getCharCode(char ch)
Copyright © 2025 Apache Software Foundation. All rights reserved.