Class PDFFontEntry
java.lang.Object
com.inductiveautomation.rm.pdf.writer.PDFFontEntry
An inner class to store font info. There are individual entries when a font has chars beyond 255, in blocks of 256.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionPDFFontEntry(PDFFile pdfFile, RMFont aFont, int fontCharSet) Creates a new font entry for a given pdf file and font.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PDFStreamcharProcStreamForChar(RMFontFile fontFile, char aChar) Returns a pdf stream buffer with given char written as a char proc.chargetChar(int anIndex) Returns the char at the given index for this font entry.intReturns the char count for this font entry.intReturns the char set for this font entry.getFont()Returns the font for this font entry.Returns the pdf name of the font entry font.voidwriteExtendedFont(RMPDFWriter aWriter) Writes the given font char set to the given pdf file.voidwriteFont(RMPDFWriter aWriter) Writes the given font to the given pdf file.voidwritePDF(RMPDFWriter aWriter) Writes the font entry to the pdf buffer.
- 
Field Details- 
_pdfBuiltInsHolds a list of all the PDF built in font name variants.
- 
_pdfBuiltIns2Holds a list of all the PDF build font names.
 
- 
- 
Constructor Details- 
PDFFontEntryCreates a new font entry for a given pdf file and font.
 
- 
- 
Method Details- 
getFontReturns the font for this font entry.
- 
getCharSetpublic int getCharSet()Returns the char set for this font entry. Font entries represent blocks of 256 chars for a given font, and the char set is the index of the current font entry's block of 256 chars.
- 
getCharCountpublic int getCharCount()Returns the char count for this font entry.
- 
getCharpublic char getChar(int anIndex) Returns the char at the given index for this font entry.
- 
getPDFNameReturns the pdf name of the font entry font.
- 
writePDFWrites the font entry to the pdf buffer.
- 
writeFontWrites the given font to the given pdf file.
- 
writeExtendedFontWrites the given font char set to the given pdf file.
- 
charProcStreamForCharReturns a pdf stream buffer with given char written as a char proc.
 
-