iText 5

Type1Font

Type1Font Internal class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

string``[][]

AllNameEntries

get

string``[][]

FamilyFontName

get

string``[][]

FullFontName

get

string

PostscriptFontName

get, set

Methods

Internal methods

Returns

Name

int

GetRawWidth

(int c, string name)

void

WriteFont

(

PdfWriter

writer,

PdfIndirectReference

piref, object``[] parms)

Public methods

Returns

Name

PdfDictionary

GetFontDescriptor

(...)

PdfStream

GetFullFontStream

()

int

GetKerning

(int char1, int char2)

bool

HasKernPairs

()

void

Process

(

RandomAccessFileOrArray

rf)

void

SetFontDescriptor

(int key, float value)

bool

SetKerning

(int char1, int char2, int kern)

Protected methods

Returns

Name

int``[]

GetRawCharBBox

(int c, string name)

Details

Inheritance

Constructors

Type1Font

Source code

internal Type1Font(string afmFile, string enc, bool emb, byte[] ttfAfm, byte[] pfb, bool forceRead)

Arguments

Type

Name

Description

string

afmFile

string

enc

bool

emb

byte``[]

ttfAfm

byte``[]

pfb

bool

forceRead

Methods

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

Process

Source code

public virtual void Process(RandomAccessFileOrArray rf)

Arguments

Type

Name

Description

RandomAccessFileOrArray

rf

GetFullFontStream

Source code

public override PdfStream GetFullFontStream()

GetFontDescriptor [1/2]

Source code

public virtual PdfDictionary GetFontDescriptor(PdfIndirectReference fontStream)

Arguments

Type

Name

Description

PdfIndirectReference

fontStream

WriteFont

Source code

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

Arguments

Type

Name

Description

PdfWriter

writer

PdfIndirectReference

piref

object``[]

parms

GetFontDescriptor [2/2]

Source code

public override float GetFontDescriptor(int key, float fontSize)

Arguments

Type

Name

Description

int

key

float

fontSize

SetFontDescriptor

Source code

public override void SetFontDescriptor(int key, float value)

Arguments

Type

Name

Description

int

key

float

value

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

GetRawCharBBox

Source code

protected override int GetRawCharBBox(int c, string name)

Arguments

Type

Name

Description

int

c

string

name

Properties

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