C# Class iTextSharp.text.pdf.CJKFont

Inheritance: BaseFont
ファイルを表示 Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Protected Methods

Method Description
GetRawCharBBox ( int c, String name ) : int[]

Private Methods

Method 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 method

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

ConvertToBytes() public method

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

GetCharBBox() public method

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

GetCidCode() public method

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

GetCompatibleFont() public static method

public static GetCompatibleFont ( String enc ) : String
enc String
return String

GetFontDescriptor() public method

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

GetFullFontStream() public method

public GetFullFontStream ( ) : PdfStream
return PdfStream

GetKerning() public method

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

GetRawCharBBox() protected method

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

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

HasKernPairs() public method

public HasKernPairs ( ) : bool
return bool

IsCJKFont() public static method

public static IsCJKFont ( string fontName, string enc ) : bool
fontName string
enc string
return bool

IsIdentity() public method

public IsIdentity ( ) : bool
return bool

SetCharAdvance() public method

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

SetKerning() public method

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