C# Class iTextSharp.text.pdf.CJKFont

Inheritance: BaseFont
Afficher le fichier Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Private Properties

Свойство Type Description
CJKFont System
ConvertToBytes byte[]
ConvertToHCIDMetrics string
ConvertToVCIDMetrics string
CreateMetric IntHashtable
GetBBox float
GetCIDFont PdfDictionary
GetDescNumber float
GetFontBaseType PdfDictionary
GetFontDescriptor PdfDictionary
GetRawWidth int
LoadCMaps void
LoadProperties void
LoadRegistry void
ReadFontProperties Object>.Dictionary
WriteFont void

Méthodes publiques

Méthode Description
CharExists ( int c ) : bool
ConvertToBytes ( String text ) : byte[]
GetCharBBox ( int c ) : int[]
GetCidCode ( int c ) : int
GetCompatibleFont ( String enc ) : String
GetFontDescriptor ( int key, float fontSize ) : float
GetFullFontStream ( ) : PdfStream
GetKerning ( int char1, int char2 ) : int
GetUnicodeEquivalent ( int c ) : int
GetWidth ( int char1 ) : int
GetWidth ( string text ) : int
HasKernPairs ( ) : bool
IsCJKFont ( string fontName, string enc ) : bool
IsIdentity ( ) : bool
SetCharAdvance ( int c, int advance ) : bool
SetKerning ( int char1, int char2, int kern ) : bool

Méthodes protégées

Méthode Description
GetRawCharBBox ( int c, String name ) : int[]

Private Methods

Méthode Description
CJKFont ( string fontName, string enc, bool emb ) : System
ConvertToBytes ( int char1 ) : byte[]
ConvertToHCIDMetrics ( int keys, IntHashtable h ) : string
ConvertToVCIDMetrics ( int keys, IntHashtable v, IntHashtable h ) : string
CreateMetric ( string s ) : IntHashtable
GetBBox ( int idx ) : float
GetCIDFont ( PdfIndirectReference fontDescriptor, IntHashtable cjkTag ) : PdfDictionary
GetDescNumber ( string name ) : float
GetFontBaseType ( PdfIndirectReference CIDFont ) : PdfDictionary
GetFontDescriptor ( ) : PdfDictionary
GetRawWidth ( int c, string name ) : int
LoadCMaps ( ) : void
LoadProperties ( ) : void
LoadRegistry ( ) : void
ReadFontProperties ( String name ) : Object>.Dictionary
WriteFont ( PdfWriter writer, PdfIndirectReference piref, Object parms ) : void

Method Details

CharExists() public méthode

public CharExists ( int c ) : bool
c int
Résultat bool

ConvertToBytes() public méthode

public ConvertToBytes ( String text ) : byte[]
text String
Résultat byte[]

GetCharBBox() public méthode

public GetCharBBox ( int c ) : int[]
c int
Résultat int[]

GetCidCode() public méthode

public GetCidCode ( int c ) : int
c int
Résultat int

GetCompatibleFont() public static méthode

public static GetCompatibleFont ( String enc ) : String
enc String
Résultat String

GetFontDescriptor() public méthode

public GetFontDescriptor ( int key, float fontSize ) : float
key int
fontSize float
Résultat float

GetFullFontStream() public méthode

public GetFullFontStream ( ) : PdfStream
Résultat PdfStream

GetKerning() public méthode

public GetKerning ( int char1, int char2 ) : int
char1 int
char2 int
Résultat int

GetRawCharBBox() protected méthode

protected GetRawCharBBox ( int c, String name ) : int[]
c int
name String
Résultat int[]

GetUnicodeEquivalent() public méthode

public GetUnicodeEquivalent ( int c ) : int
c int
Résultat int

GetWidth() public méthode

public GetWidth ( int char1 ) : int
char1 int
Résultat int

GetWidth() public méthode

public GetWidth ( string text ) : int
text string
Résultat int

HasKernPairs() public méthode

public HasKernPairs ( ) : bool
Résultat bool

IsCJKFont() public static méthode

public static IsCJKFont ( string fontName, string enc ) : bool
fontName string
enc string
Résultat bool

IsIdentity() public méthode

public IsIdentity ( ) : bool
Résultat bool

SetCharAdvance() public méthode

public SetCharAdvance ( int c, int advance ) : bool
c int
advance int
Résultat bool

SetKerning() public méthode

public SetKerning ( int char1, int char2, int kern ) : bool
char1 int
char2 int
kern int
Résultat bool