C# Class PdfSharp.Fonts.OpenType.NameTable

The naming table allows multilingual strings to be associated with the OpenTypeTM font file. These strings can represent copyright notices, font names, family names, style names, and so on. To keep this table short, the font manufacturer may wish to make a limited set of entries in some small set of languages; later, the font can be "localized" and the strings translated or added. Other parts of the OpenType font file that require these strings can then refer to them simply by their index number. Clients that need a particular string can look it up by its platform ID, character encoding ID, language ID and name ID. Note that some platforms may require single byte character strings, while others may require double byte strings. For historical reasons, some applications which install fonts perform version control using Macintosh platform (platform ID 1) strings from the 'name' table. Because of this, we strongly recommend that the 'name' table of all fonts include Macintosh platform strings and that the syntax of the version number (name id 5) follows the guidelines given in this document.
Inheritance: PdfSharp.Fonts.OpenType.OpenTypeFontTable
Exibir arquivo Open project: DavidS/MigraDoc Class Usage Examples

Public Properties

Property Type Description
Name string
Style string
count ushort
format ushort
stringOffset ushort

Public Methods

Method Description
NameTable ( FontData fontData ) : System
Read ( ) : void

Private Methods

Method Description
ReadNameRecord ( ) : NameRecord

Method Details

NameTable() public method

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

Read() public method

public Read ( ) : void
return void

Property Details

Name public_oe property

public string Name
return string

Style public_oe property

public string Style
return string

count public_oe property

public ushort count
return ushort

format public_oe property

public ushort format
return ushort

stringOffset public_oe property

public ushort stringOffset
return ushort