Package org.apache.fop.render.pcl.fonts
Class PCLSoftFont
- java.lang.Object
-
- org.apache.fop.render.pcl.fonts.PCLSoftFont
-
public class PCLSoftFont extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PCLSoftFont(int fontID, Typeface font, boolean multiByteFont)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Integer,int[]>getCharacterOffsets()intgetCharCode(char ch)intgetCharCount()intgetCharIndex(char ch)intgetCmapGlyphIndex(int unicode)intgetFontID()java.io.InputStreamgetFontStream()java.util.Map<java.lang.Character,java.lang.Integer>getMappedChars()intgetMtxCharIndex(int unicode)OpenFontgetOpenFont()FontFileReadergetReader()TypefacegetTypeface()intgetUnicodeCodePoint(int unicode)booleanhasPreviouslyWritten(int unicode)voidsetCharacterOffsets(java.util.Map<java.lang.Integer,int[]> charOffsets)voidsetFontStream(java.io.InputStream fontStream)voidsetMappedChars(java.util.Map<java.lang.Character,java.lang.Integer> mappedChars)voidsetMtxCharIndexes(java.util.Map<java.lang.Integer,java.lang.Integer> charMtxPositions)voidsetOpenFont(OpenFont openFont)voidsetReader(FontFileReader reader)voidwriteCharacter(int unicode)
-
-
-
Constructor Detail
-
PCLSoftFont
public PCLSoftFont(int fontID, Typeface font, boolean multiByteFont)
-
-
Method Detail
-
getTypeface
public Typeface getTypeface()
-
getFontID
public int getFontID()
-
setCharacterOffsets
public void setCharacterOffsets(java.util.Map<java.lang.Integer,int[]> charOffsets)
-
getCharacterOffsets
public java.util.Map<java.lang.Integer,int[]> getCharacterOffsets()
-
getOpenFont
public OpenFont getOpenFont()
-
setOpenFont
public void setOpenFont(OpenFont openFont)
-
getFontStream
public java.io.InputStream getFontStream()
-
setFontStream
public void setFontStream(java.io.InputStream fontStream)
-
getReader
public FontFileReader getReader()
-
setReader
public void setReader(FontFileReader reader)
-
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
public void setMtxCharIndexes(java.util.Map<java.lang.Integer,java.lang.Integer> charMtxPositions)
-
getCharCount
public int getCharCount()
-
setMappedChars
public void setMappedChars(java.util.Map<java.lang.Character,java.lang.Integer> mappedChars)
-
getMappedChars
public java.util.Map<java.lang.Character,java.lang.Integer> getMappedChars()
-
getCharIndex
public int getCharIndex(char ch)
-
getCharCode
public int getCharCode(char ch)
-
-