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
Afficher le fichier Open project: DavidS/MigraDoc Class Usage Examples

Méthodes publiques

Свойство Type Description
glyphTable byte[]

Méthodes publiques

Méthode 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 méthode

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
Résultat void

CompleteGlyphClosure() public méthode

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

GetGlyphData() public méthode

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

GetGlyphSize() public méthode

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

GetOffset() public méthode

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

GlyphDataTable() public méthode

public GlyphDataTable ( ) : System
Résultat System

GlyphDataTable() public méthode

public GlyphDataTable ( FontData fontData ) : System
fontData FontData
Résultat System

PrepareForCompilation() public méthode

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

Read() public méthode

Converts the bytes in a handy representation
public Read ( ) : void
Résultat void

Write() public méthode

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

Property Details

glyphTable public_oe property

public byte[] glyphTable
Résultat byte[]