iText 5

CJKFont

CJKFont Internal class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.CJKFont[[CJKFont]] iTextSharp.text.pdf.BaseFont[[BaseFont]] class iTextSharp.text.pdf.BaseFont abstractStyle; end iTextSharp.text.pdf.BaseFont --> iTextSharp.text.pdf.CJKFont

Members

Properties

Internal properties

Type

Name

Methods

string

UniMap

get

Public properties

Type

Name

Methods

string``[][]

AllNameEntries

get

string``[][]

FamilyFontName

get

string``[][]

FullFontName

get

string

PostscriptFontName

get, set

Methods

Public Static methods

Returns

Name

string

GetCompatibleFont

(string enc)

bool

IsCJKFont

(string fontName, string enc)

Internal Static methods

Returns

Name

string

ConvertToHCIDMetrics

(int``[] keys,

IntHashtable

h)

string

ConvertToVCIDMetrics

(int``[] keys,

IntHashtable

v,

IntHashtable

h)

IntHashtable

CreateMetric

(string s)

Dictionary<string, object>

ReadFontProperties

(string name)

Public methods

Returns

Name

bool

CharExists

(int c)

byte``[]

ConvertToBytes

(string text)

int``[]

GetCharBBox

(int c)

int

GetCidCode

(int c)

float

GetFontDescriptor

(int key, float fontSize)

PdfStream

GetFullFontStream

()

int

GetKerning

(int char1, int char2)

int

GetUnicodeEquivalent

(int c)

int

GetWidth

(...)

bool

HasKernPairs

()

bool

IsIdentity

()

bool

SetCharAdvance

(int c, int advance)

bool

SetKerning

(int char1, int char2, int kern)

Internal methods

Returns

Name

byte``[]

ConvertToBytes

(int char1)

int

GetRawWidth

(int c, string name)

void

WriteFont

(

PdfWriter

writer,

PdfIndirectReference

piref, object``[] parms)

Protected methods

Returns

Name

int``[]

GetRawCharBBox

(int c, string name)

Details

Inheritance

Constructors

CJKFont

Source code

internal CJKFont(string fontName, string enc, bool emb)

Arguments

Type

Name

Description

string

fontName

string

enc

bool

emb

Methods

GetCompatibleFont

Source code

public static string GetCompatibleFont(string enc)

Arguments

Type

Name

Description

string

enc

IsCJKFont

Source code

public static bool IsCJKFont(string fontName, string enc)

Arguments

Type

Name

Description

string

fontName

string

enc

GetWidth [1/2]

Source code

public override int GetWidth(int char1)

Arguments

Type

Name

Description

int

char1

GetWidth [2/2]

Source code

public override int GetWidth(string text)

Arguments

Type

Name

Description

string

text

GetRawWidth

Source code

internal override int GetRawWidth(int c, string name)

Arguments

Type

Name

Description

int

c

string

name

GetKerning

Source code

public override int GetKerning(int char1, int char2)

Arguments

Type

Name

Description

int

char1

int

char2

WriteFont

Source code

internal override void WriteFont(PdfWriter writer, PdfIndirectReference piref, object[] parms)

Arguments

Type

Name

Description

PdfWriter

writer

PdfIndirectReference

piref

object``[]

parms

GetFullFontStream

Source code

public override PdfStream GetFullFontStream()

GetFontDescriptor

Source code

public override float GetFontDescriptor(int key, float fontSize)

Arguments

Type

Name

Description

int

key

float

fontSize

CreateMetric

Source code

internal static IntHashtable CreateMetric(string s)

Arguments

Type

Name

Description

string

s

ConvertToHCIDMetrics

Source code

internal static string ConvertToHCIDMetrics(int[] keys, IntHashtable h)

Arguments

Type

Name

Description

int``[]

keys

IntHashtable

h

ConvertToVCIDMetrics

Source code

internal static string ConvertToVCIDMetrics(int[] keys, IntHashtable v, IntHashtable h)

Arguments

Type

Name

Description

int``[]

keys

IntHashtable

v

IntHashtable

h

ReadFontProperties

Source code

internal static Dictionary<string, object> ReadFontProperties(string name)

Arguments

Type

Name

Description

string

name

GetUnicodeEquivalent

Source code

public override int GetUnicodeEquivalent(int c)

Arguments

Type

Name

Description

int

c

GetCidCode

Source code

public override int GetCidCode(int c)

Arguments

Type

Name

Description

int

c

HasKernPairs

Source code

public override bool HasKernPairs()

CharExists

Source code

public override bool CharExists(int c)

Arguments

Type

Name

Description

int

c

SetCharAdvance

Source code

public override bool SetCharAdvance(int c, int advance)

Arguments

Type

Name

Description

int

c

int

advance

SetKerning

Source code

public override bool SetKerning(int char1, int char2, int kern)

Arguments

Type

Name

Description

int

char1

int

char2

int

kern

GetCharBBox

Source code

public override int GetCharBBox(int c)

Arguments

Type

Name

Description

int

c

GetRawCharBBox

Source code

protected override int GetRawCharBBox(int c, string name)

Arguments

Type

Name

Description

int

c

string

name

ConvertToBytes [1/2]

Source code

public override byte ConvertToBytes(string text)

Arguments

Type

Name

Description

string

text

ConvertToBytes [2/2]

Source code

internal override byte ConvertToBytes(int char1)

Arguments

Type

Name

Description

int

char1

IsIdentity

Source code

public virtual bool IsIdentity()

Properties

UniMap

internal string UniMap { get; }

PostscriptFontName

public override string PostscriptFontName { get; set; }

FullFontName

public override string FullFontName { get; }

AllNameEntries

public override string AllNameEntries { get; }

FamilyFontName

public override string FamilyFontName { get; }

Generated with ModularDoc