iText 5

Type3Font

Type3Font Public class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

string``[][]

AllNameEntries

get

string``[][]

FamilyFontName

get

string``[][]

FullFontName

get

string

PostscriptFontName

get, set

Methods

Public methods

Returns

Name

bool

CharExists

(int c)

byte``[]

ConvertToBytes

(string text)

PdfContentByte

DefineGlyph

(char c, float wx, float llx, float lly, float urx, float ury)

int``[]

GetCharBBox

(int c)

float

GetFontDescriptor

(int key, float fontSize)

PdfStream

GetFullFontStream

()

int

GetKerning

(int char1, int char2)

int

GetWidth

(...)

bool

HasKernPairs

()

bool

SetCharAdvance

(int c, int advance)

bool

SetKerning

(int char1, int char2, int kern)

Protected methods

Returns

Name

int``[]

GetRawCharBBox

(int c, string name)

Internal methods

Returns

Name

byte``[]

ConvertToBytes

(int char1)

int

GetRawWidth

(int c, string name)

void

WriteFont

(

PdfWriter

writer,

PdfIndirectReference

piRef, object``[] oParams)

Details

Inheritance

Constructors

Type3Font [1/2]

Source code

public Type3Font(PdfWriter writer, char[] chars, bool colorized)

Arguments

Type

Name

Description

PdfWriter

writer

char``[]

chars

bool

colorized

Type3Font [2/2]

Source code

public Type3Font(PdfWriter writer, bool colorized)

Arguments

Type

Name

Description

PdfWriter

writer

bool

colorized

Methods

DefineGlyph

Source code

public virtual PdfContentByte DefineGlyph(char c, float wx, float llx, float lly, float urx, float ury)

Arguments

Type

Name

Description

char

c

float

wx

float

llx

float

lly

float

urx

float

ury

GetFontDescriptor

Source code

public override float GetFontDescriptor(int key, float fontSize)

Arguments

Type

Name

Description

int

key

float

fontSize

GetKerning

Source code

public override int GetKerning(int char1, int char2)

Arguments

Type

Name

Description

int

char1

int

char2

GetRawCharBBox

Source code

protected override int GetRawCharBBox(int c, string name)

Arguments

Type

Name

Description

int

c

string

name

GetRawWidth

Source code

internal override int GetRawWidth(int c, string name)

Arguments

Type

Name

Description

int

c

string

name

HasKernPairs

Source code

public override bool HasKernPairs()

SetKerning

Source code

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

Arguments

Type

Name

Description

int

char1

int

char2

int

kern

WriteFont

Source code

internal override void WriteFont(PdfWriter writer, PdfIndirectReference piRef, object[] oParams)

Arguments

Type

Name

Description

PdfWriter

writer

PdfIndirectReference

piRef

object``[]

oParams

GetFullFontStream

Source code

public override PdfStream GetFullFontStream()

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

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

GetCharBBox

Source code

public override int GetCharBBox(int c)

Arguments

Type

Name

Description

int

c

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

Properties

FamilyFontName

public override string FamilyFontName { get; }

FullFontName

public override string FullFontName { get; }

AllNameEntries

public override string AllNameEntries { get; }

PostscriptFontName

public override string PostscriptFontName { get; set; }

Generated with ModularDoc