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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PCLSoftFont
public PCLSoftFont(int fontID,
Typeface font,
boolean multiByteFont)
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)
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.