C# Class iTextSharp.text.pdf.CFFFontSubset

Inheritance: CFFFont
Exibir arquivo Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Methods

Method Description
CFFFontSubset ( RandomAccessFileOrArray rf, int[]>.Dictionary GlyphsUsed ) : System
Process ( String fontName ) : byte[]

Protected Methods

Method Description
AssembleIndex ( int NewOffsets, byte NewObjects ) : byte[]
BuildFDArrayUsed ( int Font ) : void
BuildFDSubrsOffsets ( int Font, int FD ) : void
BuildGSubrsUsed ( int Font ) : void
BuildIndexHeader ( int Count, int Offsize, int First ) : void
BuildNewCharString ( int FontIndex ) : void
BuildNewFile ( int Font ) : byte[]
BuildNewIndex ( int Offsets, int[]>.Dictionary Used, byte OperatorForUnusedEntries ) : byte[]
BuildNewLGSubrs ( int Font ) : void
BuildSubrUsed ( int Font, int FD, int SubrOffset, int SubrsOffsets, int[]>.Dictionary hSubr, List lSubr ) : void
CalcBias ( int Offset, int Font ) : int
CalcHints ( int begin, int end, int LBias, int GBias, int LSubrsOffsets ) : int
CopyHeader ( ) : void
CountEntireIndexRange ( int indexOffset ) : int
CreateCharset ( OffsetItem charsetRef, int nglyphs ) : void
CreateFDArray ( OffsetItem fdarrayRef, OffsetItem privateRef, int Font ) : void
CreateFDSelect ( OffsetItem fdselectRef, int nglyphs ) : void
CreateKeys ( OffsetItem fdarrayRef, OffsetItem fdselectRef, OffsetItem charsetRef, OffsetItem charstringsRef ) : void
CreateNewStringIndex ( int Font ) : void
EmptyStack ( ) : void
HandelStack ( ) : void
PopStack ( ) : void
PushStack ( ) : void
ReadASubr ( int begin, int end, int GBias, int LBias, int[]>.Dictionary hSubr, List lSubr, int LSubrsOffsets ) : void
ReadCommand ( ) : void
ReadFDArray ( int Font ) : void
ReadFDSelect ( int Font ) : void
StackOpp ( ) : int

Private Methods

Method Description
CalcSubrOffsetSize ( int Offset, int Size ) : int
CountCharset ( int Offset, int NumofGlyphs ) : int
CountRange ( int NumofGlyphs, int Type ) : int
CreateNonCIDPrivate ( int Font, OffsetItem Subr ) : void
CreateNonCIDSubrs ( int Font, IndexBaseItem PrivateBase, OffsetItem Subrs ) : void
Reconstruct ( int Font ) : void
ReconstructFDArray ( int Font, OffsetItem fdPrivate ) : void
ReconstructPrivateDict ( int Font, OffsetItem fdPrivate, IndexBaseItem fdPrivateBase, OffsetItem fdSubrs ) : void
ReconstructPrivateSubrs ( int Font, IndexBaseItem fdPrivateBase, OffsetItem fdSubrs ) : void

Method Details

AssembleIndex() protected method

protected AssembleIndex ( int NewOffsets, byte NewObjects ) : byte[]
NewOffsets int
NewObjects byte
return byte[]

BuildFDArrayUsed() protected method

protected BuildFDArrayUsed ( int Font ) : void
Font int
return void

BuildFDSubrsOffsets() protected method

protected BuildFDSubrsOffsets ( int Font, int FD ) : void
Font int
FD int
return void

BuildGSubrsUsed() protected method

protected BuildGSubrsUsed ( int Font ) : void
Font int
return void

BuildIndexHeader() protected method

protected BuildIndexHeader ( int Count, int Offsize, int First ) : void
Count int
Offsize int
First int
return void

BuildNewCharString() protected method

protected BuildNewCharString ( int FontIndex ) : void
FontIndex int
return void

BuildNewFile() protected method

protected BuildNewFile ( int Font ) : byte[]
Font int
return byte[]

BuildNewIndex() protected method

protected BuildNewIndex ( int Offsets, int[]>.Dictionary Used, byte OperatorForUnusedEntries ) : byte[]
Offsets int
Used int[]>.Dictionary
OperatorForUnusedEntries byte
return byte[]

BuildNewLGSubrs() protected method

protected BuildNewLGSubrs ( int Font ) : void
Font int
return void

BuildSubrUsed() protected method

protected BuildSubrUsed ( int Font, int FD, int SubrOffset, int SubrsOffsets, int[]>.Dictionary hSubr, List lSubr ) : void
Font int
FD int
SubrOffset int
SubrsOffsets int
hSubr int[]>.Dictionary
lSubr List
return void

CFFFontSubset() public method

public CFFFontSubset ( RandomAccessFileOrArray rf, int[]>.Dictionary GlyphsUsed ) : System
rf RandomAccessFileOrArray
GlyphsUsed int[]>.Dictionary
return System

CalcBias() protected method

protected CalcBias ( int Offset, int Font ) : int
Offset int
Font int
return int

CalcHints() protected method

protected CalcHints ( int begin, int end, int LBias, int GBias, int LSubrsOffsets ) : int
begin int
end int
LBias int
GBias int
LSubrsOffsets int
return int

CopyHeader() protected method

protected CopyHeader ( ) : void
return void

CountEntireIndexRange() protected method

protected CountEntireIndexRange ( int indexOffset ) : int
indexOffset int
return int

CreateCharset() protected method

protected CreateCharset ( OffsetItem charsetRef, int nglyphs ) : void
charsetRef OffsetItem
nglyphs int
return void

CreateFDArray() protected method

protected CreateFDArray ( OffsetItem fdarrayRef, OffsetItem privateRef, int Font ) : void
fdarrayRef OffsetItem
privateRef OffsetItem
Font int
return void

CreateFDSelect() protected method

protected CreateFDSelect ( OffsetItem fdselectRef, int nglyphs ) : void
fdselectRef OffsetItem
nglyphs int
return void

CreateKeys() protected method

protected CreateKeys ( OffsetItem fdarrayRef, OffsetItem fdselectRef, OffsetItem charsetRef, OffsetItem charstringsRef ) : void
fdarrayRef OffsetItem
fdselectRef OffsetItem
charsetRef OffsetItem
charstringsRef OffsetItem
return void

CreateNewStringIndex() protected method

protected CreateNewStringIndex ( int Font ) : void
Font int
return void

EmptyStack() protected method

protected EmptyStack ( ) : void
return void

HandelStack() protected method

protected HandelStack ( ) : void
return void

PopStack() protected method

protected PopStack ( ) : void
return void

Process() public method

public Process ( String fontName ) : byte[]
fontName String
return byte[]

PushStack() protected method

protected PushStack ( ) : void
return void

ReadASubr() protected method

protected ReadASubr ( int begin, int end, int GBias, int LBias, int[]>.Dictionary hSubr, List lSubr, int LSubrsOffsets ) : void
begin int
end int
GBias int
LBias int
hSubr int[]>.Dictionary
lSubr List
LSubrsOffsets int
return void

ReadCommand() protected method

protected ReadCommand ( ) : void
return void

ReadFDArray() protected method

protected ReadFDArray ( int Font ) : void
Font int
return void

ReadFDSelect() protected method

protected ReadFDSelect ( int Font ) : void
Font int
return void

StackOpp() protected method

protected StackOpp ( ) : int
return int