C# Class PdfSharp.Fonts.OpenType.GlyphDataTable

This table contains information that describes the glyphs in the font in the TrueType outline format. Information regarding the rasterizer (scaler) refers to the TrueType rasterizer. http://www.microsoft.com/typography/otspec/glyf.htm
Inheritance: PdfSharp.Fonts.OpenType.OpenTypeFontTable
Show file Open project: DavidS/MigraDoc Class Usage Examples

Public Properties

Property Type Description
glyphTable byte[]

Public Methods

Method Description
AddCompositeGlyphs ( object>.Dictionary glyphs, int glyph ) : void

If the specified glyph is a composite glyph add the glyphs it is made of to the glyph table.

CompleteGlyphClosure ( object>.Dictionary glyphs ) : void

Adds for all composite glyphs the glyphs the composite one is made of.

GetGlyphData ( int glyph ) : byte[]

Gets the data of the specified glyph.

GetGlyphSize ( int glyph ) : int

Gets the size of the byte array that defines the glyph.

GetOffset ( int glyph ) : int

Gets the offset of the specified glyph relative to the first byte of the font image.

GlyphDataTable ( ) : System
GlyphDataTable ( FontData fontData ) : System
PrepareForCompilation ( ) : void

Prepares the font table to be compiled into its binary representation.

Read ( ) : void

Converts the bytes in a handy representation

Write ( PdfSharp.Fonts.OpenType.OpenTypeFontWriter writer ) : void

Converts the font into its binary representation.

Method Details

AddCompositeGlyphs() public method

If the specified glyph is a composite glyph add the glyphs it is made of to the glyph table.
public AddCompositeGlyphs ( object>.Dictionary glyphs, int glyph ) : void
glyphs object>.Dictionary
glyph int
return void

CompleteGlyphClosure() public method

Adds for all composite glyphs the glyphs the composite one is made of.
public CompleteGlyphClosure ( object>.Dictionary glyphs ) : void
glyphs object>.Dictionary
return void

GetGlyphData() public method

Gets the data of the specified glyph.
public GetGlyphData ( int glyph ) : byte[]
glyph int
return byte[]

GetGlyphSize() public method

Gets the size of the byte array that defines the glyph.
public GetGlyphSize ( int glyph ) : int
glyph int
return int

GetOffset() public method

Gets the offset of the specified glyph relative to the first byte of the font image.
public GetOffset ( int glyph ) : int
glyph int
return int

GlyphDataTable() public method

public GlyphDataTable ( ) : System
return System

GlyphDataTable() public method

public GlyphDataTable ( FontData fontData ) : System
fontData FontData
return System

PrepareForCompilation() public method

Prepares the font table to be compiled into its binary representation.
public PrepareForCompilation ( ) : void
return void

Read() public method

Converts the bytes in a handy representation
public Read ( ) : void
return void

Write() public method

Converts the font into its binary representation.
public Write ( PdfSharp.Fonts.OpenType.OpenTypeFontWriter writer ) : void
writer PdfSharp.Fonts.OpenType.OpenTypeFontWriter
return void

Property Details

glyphTable public property

public byte[] glyphTable
return byte[]