Package com.aowagie.text.pdf
Class CFFFont
- java.lang.Object
-
- com.aowagie.text.pdf.CFFFont
-
- Direct Known Subclasses:
CFFFontSubset
class CFFFont extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classCFFFont.DictNumberItemA dictionary number on the list.protected static classCFFFont.DictOffsetIteman unknown offset in a dictionary for the list.(package private) classCFFFont.FontTODO Changed from private to protected by Ygal&Orenprotected static classCFFFont.IndexBaseItemprotected static classCFFFont.IndexMarkerItemprotected static classCFFFont.IndexOffsetItemAn index-offset item for the list.protected static classCFFFont.ItemList items for the linked list that builds the new CID font.protected static classCFFFont.MarkerItemAn offset-marker item for the list.protected static classCFFFont.OffsetItemprotected static classCFFFont.RangeItemA range item.protected static classCFFFont.StringItemprotected static classCFFFont.SubrMarkerItemTODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Commentsprotected static classCFFFont.UInt16ItemA SID or Card16 item.protected static classCFFFont.UInt24ItemCard24 item.protected static classCFFFont.UInt32ItemCard32 item.protected static classCFFFont.UInt8ItemA Card8 item.
-
Field Summary
Fields Modifier and Type Field Description protected intarg_countprotected java.lang.Object[]argsprotected RandomAccessFileOrArraybufA random Access File or an arrayprotected CFFFont.Font[]fontsprotected intgsubrIndexOffsetprotected int[]gsubrOffsetsprotected java.lang.Stringkeyprivate intnameIndexOffsetprivate int[]nameOffsetsprivate intoffSizeprivate static java.lang.String[]operatorNames(package private) static java.lang.String[]standardStringsprotected intstringIndexOffsetprotected int[]stringOffsetsprivate inttopdictIndexOffsetprotected int[]topdictOffsets
-
Constructor Summary
Constructors Constructor Description CFFFont(RandomAccessFileOrArray inputbuffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) chargetCard16()(package private) chargetCard8()protected voidgetDictItem()protected CFFFont.RangeItemgetEntireIndexRange(int indexOffset)a utility that creates a range item for an entire index(package private) int[]getIndex(int nextIndexOffset)private intgetInt()java.lang.String[]getNames()private intgetOffset(int offSize)(package private) intgetPosition()private shortgetShort()private java.lang.StringgetString(char sid)private voidReadEncoding(int nextIndexOffset)(package private) voidseek(int offset)
-
-
-
Field Detail
-
operatorNames
private static final java.lang.String[] operatorNames
-
standardStrings
static final java.lang.String[] standardStrings
-
key
protected java.lang.String key
-
args
protected java.lang.Object[] args
-
arg_count
protected int arg_count
-
buf
protected RandomAccessFileOrArray buf
A random Access File or an array
-
offSize
private final int offSize
-
nameIndexOffset
private final int nameIndexOffset
-
topdictIndexOffset
private final int topdictIndexOffset
-
stringIndexOffset
protected int stringIndexOffset
-
gsubrIndexOffset
protected int gsubrIndexOffset
-
nameOffsets
private final int[] nameOffsets
-
topdictOffsets
protected int[] topdictOffsets
-
stringOffsets
protected int[] stringOffsets
-
gsubrOffsets
protected int[] gsubrOffsets
-
fonts
protected CFFFont.Font[] fonts
-
-
Constructor Detail
-
CFFFont
public CFFFont(RandomAccessFileOrArray inputbuffer)
-
-
Method Detail
-
getString
private java.lang.String getString(char sid)
-
getCard8
char getCard8()
-
getCard16
char getCard16()
-
getOffset
private int getOffset(int offSize)
-
seek
void seek(int offset)
-
getShort
private short getShort()
-
getInt
private int getInt()
-
getPosition
int getPosition()
-
getIndex
int[] getIndex(int nextIndexOffset)
-
getDictItem
protected void getDictItem()
-
getEntireIndexRange
protected CFFFont.RangeItem getEntireIndexRange(int indexOffset)
a utility that creates a range item for an entire index- Parameters:
indexOffset- where the index is- Returns:
- a range item representing the entire index
-
getNames
public java.lang.String[] getNames()
-
ReadEncoding
private void ReadEncoding(int nextIndexOffset)
-
-