C# Class iTextSharp.text.pdf.BaseFont

Summary description for BaseFont.
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Properties

Property Type Description
CHAR_RANGE_ARABIC int[]
CHAR_RANGE_CYRILLIC int[]
CHAR_RANGE_HEBREW int[]
CHAR_RANGE_LATIN int[]

Protected Properties

Property Type Description
BuiltinFonts14 PdfName>.Dictionary
charBBoxes int[][]
compressionLevel int
differences string[]
directTextToByte bool
embedded bool
encoding string
fastWinansi bool
fontCache BaseFont>.Dictionary
fontSpecific bool
forceWidthsOutput bool
resourceSearch List
specialMap IntHashtable
subset bool
subsetRanges List
unicodeDifferences char[]
widths int[]

Public Methods

Method Description
AddSubsetRange ( int range ) : void
AddToResourceSearch ( object obj ) : void
CharExists ( int c ) : bool
ConvertToBytes ( string text ) : byte[]
CorrectArabicAdvance ( ) : void
CreateFont ( ) : BaseFont
CreateFont ( PRIndirectReference fontRef ) : BaseFont
CreateFont ( String name, String encoding, bool embedded ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool forceRead ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow, bool forceRead ) : BaseFont
CreateSubsetPrefix ( ) : string
EnumerateTTCNames ( byte ttcArray ) : string[]
EnumerateTTCNames ( string ttcFile ) : string[]
GetAllFontNames ( String name, String encoding, byte ttfAfm ) : Object[]
GetAllNameEntries ( String name, String encoding, byte ttfAfm ) : String[][]
GetAscent ( String text ) : int
GetAscentPoint ( String text, float fontSize ) : float
GetCharBBox ( int c ) : int[]
GetCidCode ( int c ) : int
GetDescent ( String text ) : int
GetDescentPoint ( String text, float fontSize ) : float
GetDocumentFonts ( PdfReader reader ) : List
GetDocumentFonts ( PdfReader reader, int page ) : List
GetFontDescriptor ( int key, float fontSize ) : float
GetFullFontName ( string name, string encoding, byte ttfAfm ) : string[][]
GetFullFontStream ( ) : PdfStream
GetKerning ( int char1, int char2 ) : int
GetResourceStream ( string key ) : System.Stream
GetUnicodeEquivalent ( int c ) : int
GetWidth ( int char1 ) : int
GetWidth ( string text ) : int
GetWidthPoint ( int char1, float fontSize ) : float
GetWidthPoint ( string text, float fontSize ) : float
GetWidthPointKerned ( String text, float fontSize ) : float
HasKernPairs ( ) : bool
IsEmbedded ( ) : bool
IsFontSpecific ( ) : bool
SetCharAdvance ( int c, int advance ) : bool
SetFontDescriptor ( int key, float value ) : void
SetKerning ( int char1, int char2, int kern ) : bool

Protected Methods

Method Description
CreateEncoding ( ) : void
GetBaseName ( string name ) : string
GetRawCharBBox ( int c, String name ) : int[]
NormalizeEncoding ( string enc ) : string

Private Methods

Method Description
AddFont ( PRIndirectReference fontRef, IntHashtable hits, List fonts ) : void
BaseFont ( ) : System
ConvertToBytes ( int char1 ) : byte[]
GetRawWidth ( int c, string name ) : int
GetUnicodeDifferences ( int index ) : char
RecourseFonts ( PdfDictionary page, IntHashtable hits, List fonts, int level ) : void
WriteFont ( PdfWriter writer, PdfIndirectReference piRef, Object oParams ) : void

Method Details

AddSubsetRange() public method

public AddSubsetRange ( int range ) : void
range int
return void

AddToResourceSearch() public static method

public static AddToResourceSearch ( object obj ) : void
obj object
return void

CharExists() public method

public CharExists ( int c ) : bool
c int
return bool

ConvertToBytes() public method

public ConvertToBytes ( string text ) : byte[]
text string
return byte[]

CorrectArabicAdvance() public method

public CorrectArabicAdvance ( ) : void
return void

CreateEncoding() protected method

protected CreateEncoding ( ) : void
return void

CreateFont() public static method

public static CreateFont ( ) : BaseFont
return BaseFont

CreateFont() public static method

public static CreateFont ( PRIndirectReference fontRef ) : BaseFont
fontRef PRIndirectReference
return BaseFont

CreateFont() public static method

public static CreateFont ( String name, String encoding, bool embedded ) : BaseFont
name String
encoding String
embedded bool
return BaseFont

CreateFont() public static method

public static CreateFont ( String name, String encoding, bool embedded, bool forceRead ) : BaseFont
name String
encoding String
embedded bool
forceRead bool
return BaseFont

CreateFont() public static method

public static CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb ) : BaseFont
name String
encoding String
embedded bool
cached bool
ttfAfm byte
pfb byte
return BaseFont

CreateFont() public static method

public static CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow ) : BaseFont
name String
encoding String
embedded bool
cached bool
ttfAfm byte
pfb byte
noThrow bool
return BaseFont

CreateFont() public static method

public static CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow, bool forceRead ) : BaseFont
name String
encoding String
embedded bool
cached bool
ttfAfm byte
pfb byte
noThrow bool
forceRead bool
return BaseFont

CreateSubsetPrefix() public static method

public static CreateSubsetPrefix ( ) : string
return string

EnumerateTTCNames() public static method

public static EnumerateTTCNames ( byte ttcArray ) : string[]
ttcArray byte
return string[]

EnumerateTTCNames() public static method

public static EnumerateTTCNames ( string ttcFile ) : string[]
ttcFile string
return string[]

GetAllFontNames() public static method

public static GetAllFontNames ( String name, String encoding, byte ttfAfm ) : Object[]
name String
encoding String
ttfAfm byte
return Object[]

GetAllNameEntries() public static method

public static GetAllNameEntries ( String name, String encoding, byte ttfAfm ) : String[][]
name String
encoding String
ttfAfm byte
return String[][]

GetAscent() public method

public GetAscent ( String text ) : int
text String
return int

GetAscentPoint() public method

public GetAscentPoint ( String text, float fontSize ) : float
text String
fontSize float
return float

GetBaseName() protected static method

protected static GetBaseName ( string name ) : string
name string
return string

GetCharBBox() public method

public GetCharBBox ( int c ) : int[]
c int
return int[]

GetCidCode() public method

public GetCidCode ( int c ) : int
c int
return int

GetDescent() public method

public GetDescent ( String text ) : int
text String
return int

GetDescentPoint() public method

public GetDescentPoint ( String text, float fontSize ) : float
text String
fontSize float
return float

GetDocumentFonts() public static method

public static GetDocumentFonts ( PdfReader reader ) : List
reader PdfReader
return List

GetDocumentFonts() public static method

public static GetDocumentFonts ( PdfReader reader, int page ) : List
reader PdfReader
page int
return List

GetFontDescriptor() public abstract method

public abstract GetFontDescriptor ( int key, float fontSize ) : float
key int
fontSize float
return float

GetFullFontName() public static method

public static GetFullFontName ( string name, string encoding, byte ttfAfm ) : string[][]
name string
encoding string
ttfAfm byte
return string[][]

GetFullFontStream() public abstract method

public abstract GetFullFontStream ( ) : PdfStream
return PdfStream

GetKerning() public abstract method

public abstract GetKerning ( int char1, int char2 ) : int
char1 int
char2 int
return int

GetRawCharBBox() protected abstract method

protected abstract GetRawCharBBox ( int c, String name ) : int[]
c int
name String
return int[]

GetResourceStream() public static method

public static GetResourceStream ( string key ) : System.Stream
key string
return System.Stream

GetUnicodeEquivalent() public method

public GetUnicodeEquivalent ( int c ) : int
c int
return int

GetWidth() public method

public GetWidth ( int char1 ) : int
char1 int
return int

GetWidth() public method

public GetWidth ( string text ) : int
text string
return int

GetWidthPoint() public method

public GetWidthPoint ( int char1, float fontSize ) : float
char1 int
fontSize float
return float

GetWidthPoint() public method

public GetWidthPoint ( string text, float fontSize ) : float
text string
fontSize float
return float

GetWidthPointKerned() public method

public GetWidthPointKerned ( String text, float fontSize ) : float
text String
fontSize float
return float

HasKernPairs() public abstract method

public abstract HasKernPairs ( ) : bool
return bool

IsEmbedded() public method

public IsEmbedded ( ) : bool
return bool

IsFontSpecific() public method

public IsFontSpecific ( ) : bool
return bool

NormalizeEncoding() protected static method

protected static NormalizeEncoding ( string enc ) : string
enc string
return string

SetCharAdvance() public method

public SetCharAdvance ( int c, int advance ) : bool
c int
advance int
return bool

SetFontDescriptor() public method

public SetFontDescriptor ( int key, float value ) : void
key int
value float
return void

SetKerning() public abstract method

public abstract SetKerning ( int char1, int char2, int kern ) : bool
char1 int
char2 int
kern int
return bool

Property Details

BuiltinFonts14 protected static property

protected static Dictionary BuiltinFonts14
return PdfName>.Dictionary

CHAR_RANGE_ARABIC public static property

public static int[] CHAR_RANGE_ARABIC
return int[]

CHAR_RANGE_CYRILLIC public static property

public static int[] CHAR_RANGE_CYRILLIC
return int[]

CHAR_RANGE_HEBREW public static property

public static int[] CHAR_RANGE_HEBREW
return int[]

CHAR_RANGE_LATIN public static property

public static int[] CHAR_RANGE_LATIN
return int[]

charBBoxes protected property

protected int[][] charBBoxes
return int[][]

compressionLevel protected property

protected int compressionLevel
return int

differences protected property

protected string[] differences
return string[]

directTextToByte protected property

protected bool directTextToByte
return bool

embedded protected property

protected bool embedded
return bool

encoding protected property

protected string encoding
return string

fastWinansi protected property

protected bool fastWinansi
return bool

fontCache protected static property

protected static Dictionary fontCache
return BaseFont>.Dictionary

fontSpecific protected property

protected bool fontSpecific
return bool

forceWidthsOutput protected property

protected bool forceWidthsOutput
return bool

resourceSearch protected static property

protected static List resourceSearch
return List

specialMap protected property

protected IntHashtable,iTextSharp.text.pdf specialMap
return IntHashtable

subset protected property

protected bool subset
return bool

subsetRanges protected property

protected List subsetRanges
return List

unicodeDifferences protected property

protected char[] unicodeDifferences
return char[]

widths protected property

protected int[] widths
return int[]