C# Class PdfSharp.Fonts.TrueType.TrueTypeDescriptor

The TrueType font desriptor.
Inheritance: FontDescriptor
Afficher le fichier Open project: GNOME/pdfmod Class Usage Examples

Méthodes publiques

Свойство Type Description
widths int[]

Méthodes publiques

Méthode Description
CharCodeToGlyphIndex ( char value ) : int

Maps a unicode to the index of the corresponding glyph. See OpenType spec "cmap - Character To Glyph Index Mapping Table / Format 4: Segment mapping to delta values" for details about this a little bit strange looking algorythm.

GlyphIndexToPdfWidth ( int glyphIndex ) : int

Converts the width of a glyph identified by its index to PDF design units.

Initialize ( ) : void
PdfWidthFromCharCode ( char ch ) : int
Test ( ) : void
TrueTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options, PdfSharp.Drawing.XPrivateFontCollection privateFontCollection ) : System

Private Methods

Méthode Description
DesignUnitsToPdf ( double value ) : int
TrueTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPrivateFontCollection privateFontCollection ) : System
TrueTypeDescriptor ( string idName, byte fontData ) : System

Method Details

CharCodeToGlyphIndex() public méthode

Maps a unicode to the index of the corresponding glyph. See OpenType spec "cmap - Character To Glyph Index Mapping Table / Format 4: Segment mapping to delta values" for details about this a little bit strange looking algorythm.
public CharCodeToGlyphIndex ( char value ) : int
value char
Résultat int

GlyphIndexToPdfWidth() public méthode

Converts the width of a glyph identified by its index to PDF design units.
public GlyphIndexToPdfWidth ( int glyphIndex ) : int
glyphIndex int
Résultat int

Initialize() public méthode

public Initialize ( ) : void
Résultat void

PdfWidthFromCharCode() public méthode

public PdfWidthFromCharCode ( char ch ) : int
ch char
Résultat int

Test() public static méthode

public static Test ( ) : void
Résultat void

TrueTypeDescriptor() public méthode

public TrueTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options, PdfSharp.Drawing.XPrivateFontCollection privateFontCollection ) : System
font PdfSharp.Drawing.XFont
options PdfSharp.Drawing.XPdfFontOptions
privateFontCollection PdfSharp.Drawing.XPrivateFontCollection
Résultat System

Property Details

widths public_oe property

public int[] widths
Résultat int[]