public class PDFFontEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String[] |
_pdfBuiltIns
Holds a list of all the PDF built in font name variants.
|
protected static java.lang.String[] |
_pdfBuiltIns2
Holds a list of all the PDF build font names.
|
Constructor and Description |
---|
PDFFontEntry(PDFFile pdfFile,
RMFont aFont,
int fontCharSet)
Creates a new font entry for a given pdf file and font.
|
Modifier and Type | Method and Description |
---|---|
static PDFStream |
charProcStreamForChar(RMFontFile fontFile,
char aChar)
Returns a pdf stream buffer with given char written as a char proc.
|
char |
getChar(int anIndex)
Returns the char at the given index for this font entry.
|
int |
getCharCount()
Returns the char count for this font entry.
|
int |
getCharSet()
Returns the char set for this font entry.
|
RMFont |
getFont()
Returns the font for this font entry.
|
java.lang.String |
getPDFName()
Returns the pdf name of the font entry font.
|
void |
writeExtendedFont(RMPDFWriter aWriter)
Writes the given font char set to the given pdf file.
|
void |
writeFont(RMPDFWriter aWriter)
Writes the given font to the given pdf file.
|
void |
writePDF(RMPDFWriter aWriter)
Writes the font entry to the pdf buffer.
|
protected static final java.lang.String[] _pdfBuiltIns
protected static final java.lang.String[] _pdfBuiltIns2
public RMFont getFont()
public int getCharSet()
public int getCharCount()
public char getChar(int anIndex)
public java.lang.String getPDFName()
public void writePDF(RMPDFWriter aWriter)
public void writeFont(RMPDFWriter aWriter)
public void writeExtendedFont(RMPDFWriter aWriter)
public static PDFStream charProcStreamForChar(RMFontFile fontFile, char aChar)