public class PCLSoftFont
extends java.lang.Object
Constructor and Description |
---|
PCLSoftFont(int fontID,
Typeface font,
boolean multiByteFont) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,int[]> |
getCharacterOffsets() |
int |
getCharCode(char ch) |
int |
getCharCount() |
int |
getCharIndex(char ch) |
int |
getCmapGlyphIndex(int unicode) |
int |
getFontID() |
java.io.InputStream |
getFontStream() |
java.util.Map<java.lang.Character,java.lang.Integer> |
getMappedChars() |
int |
getMtxCharIndex(int unicode) |
OpenFont |
getOpenFont() |
FontFileReader |
getReader() |
Typeface |
getTypeface() |
int |
getUnicodeCodePoint(int unicode) |
boolean |
hasPreviouslyWritten(int unicode) |
void |
setCharacterOffsets(java.util.Map<java.lang.Integer,int[]> charOffsets) |
void |
setFontStream(java.io.InputStream fontStream) |
void |
setMappedChars(java.util.Map<java.lang.Character,java.lang.Integer> mappedChars) |
void |
setMtxCharIndexes(java.util.Map<java.lang.Integer,java.lang.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 void setCharacterOffsets(java.util.Map<java.lang.Integer,int[]> charOffsets)
public java.util.Map<java.lang.Integer,int[]> getCharacterOffsets()
public OpenFont getOpenFont()
public void setOpenFont(OpenFont openFont)
public java.io.InputStream getFontStream()
public void setFontStream(java.io.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 void setMtxCharIndexes(java.util.Map<java.lang.Integer,java.lang.Integer> charMtxPositions)
public int getCharCount()
public void setMappedChars(java.util.Map<java.lang.Character,java.lang.Integer> mappedChars)
public java.util.Map<java.lang.Character,java.lang.Integer> getMappedChars()
public int getCharIndex(char ch)
public int getCharCode(char ch)
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.