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 class
CFFFont.DictNumberItem
A dictionary number on the list.protected static class
CFFFont.DictOffsetItem
an unknown offset in a dictionary for the list.(package private) class
CFFFont.Font
TODO Changed from private to protected by Ygal&Orenprotected static class
CFFFont.IndexBaseItem
protected static class
CFFFont.IndexMarkerItem
protected static class
CFFFont.IndexOffsetItem
An index-offset item for the list.protected static class
CFFFont.Item
List items for the linked list that builds the new CID font.protected static class
CFFFont.MarkerItem
An offset-marker item for the list.protected static class
CFFFont.OffsetItem
protected static class
CFFFont.RangeItem
A range item.protected static class
CFFFont.StringItem
protected static class
CFFFont.SubrMarkerItem
TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Commentsprotected static class
CFFFont.UInt16Item
A SID or Card16 item.protected static class
CFFFont.UInt24Item
Card24 item.protected static class
CFFFont.UInt32Item
Card32 item.protected static class
CFFFont.UInt8Item
A Card8 item.
-
Field Summary
Fields Modifier and Type Field Description protected int
arg_count
protected java.lang.Object[]
args
protected RandomAccessFileOrArray
buf
A random Access File or an arrayprotected CFFFont.Font[]
fonts
protected int
gsubrIndexOffset
protected int[]
gsubrOffsets
protected java.lang.String
key
private int
nameIndexOffset
private int[]
nameOffsets
private int
offSize
private static java.lang.String[]
operatorNames
(package private) static java.lang.String[]
standardStrings
protected int
stringIndexOffset
protected int[]
stringOffsets
private int
topdictIndexOffset
protected 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) char
getCard16()
(package private) char
getCard8()
protected void
getDictItem()
protected CFFFont.RangeItem
getEntireIndexRange(int indexOffset)
a utility that creates a range item for an entire index(package private) int[]
getIndex(int nextIndexOffset)
private int
getInt()
java.lang.String[]
getNames()
private int
getOffset(int offSize)
(package private) int
getPosition()
private short
getShort()
private java.lang.String
getString(char sid)
private void
ReadEncoding(int nextIndexOffset)
(package private) void
seek(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)
-
-