PdfSharp-WPF  1.31.7289
PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys Class Reference

Predefined keys of this dictionary. More...

Inheritance diagram for PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys:
PdfSharp.Pdf.Advanced.PdfFont.Keys PdfSharp.Pdf.KeysBase

Static Public Attributes

const new string Type = "/Type"
 (Required) The type of PDF object that this dictionary describes; must be Font for a font dictionary. More...
 
const new string Subtype = "/Subtype"
 (Required) The type of font; must be TrueType for a TrueType font. More...
 
const string Name = "/Name"
 (Required in PDF 1.0; optional otherwise) The name by which this font is referenced in the Font subdictionary of the current resource dictionary. More...
 
const new string BaseFont = "/BaseFont"
 (Required) The PostScript name of the font. For Type 1 fonts, this is usually the value of the FontName entry in the font program; for more information. The Post-Script name of the font can be used to find the font’s definition in the consumer application or its environment. It is also the name that is used when printing to a PostScript output device. More...
 
const string FirstChar = "/FirstChar"
 (Required except for the standard 14 fonts) The first character code defined in the font’s Widths array. More...
 
const string LastChar = "/LastChar"
 (Required except for the standard 14 fonts) The last character code defined in the font’s Widths array. More...
 
const string Widths = "/Widths"
 (Required except for the standard 14 fonts; indirect reference preferred) An array of (LastChar - FirstChar + 1) widths, each element being the glyph width for the character code that equals FirstChar plus the array index. For character codes outside the range FirstChar to LastChar, the value of MissingWidth from the FontDescriptor entry for this font is used. The glyph widths are measured in units in which 1000 units corresponds to 1 unit in text space. These widths must be consistent with the actual widths given in the font program. More...
 
const new string FontDescriptor = "/FontDescriptor"
 (Required except for the standard 14 fonts; must be an indirect reference) A font descriptor describing the font’s metrics other than its glyph widths. Note: For the standard 14 fonts, the entries FirstChar, LastChar, Widths, and FontDescriptor must either all be present or all be absent. Ordinarily, they are absent; specifying them enables a standard font to be overridden. More...
 
const string Encoding = "/Encoding"
 (Optional) A specification of the font’s character encoding if different from its built-in encoding. The value of Encoding is either the name of a predefined encoding (MacRomanEncoding, MacExpertEncoding, or WinAnsiEncoding, as described in Appendix D) or an encoding dictionary that specifies differences from the font’s built-in encoding or from a specified predefined encoding. More...
 
const string ToUnicode = "/ToUnicode"
 (Optional; PDF 1.2) A stream containing a CMap file that maps character codes to Unicode values. More...
 
- Static Public Attributes inherited from PdfSharp.Pdf.Advanced.PdfFont.Keys
const string Type = "/Type"
 (Required) The type of PDF object that this dictionary describes; must be Font for a font dictionary. More...
 
const string Subtype = "/Subtype"
 (Required) The type of font. More...
 
const string BaseFont = "/BaseFont"
 (Required) The PostScript name of the font. More...
 
const string FontDescriptor = "/FontDescriptor"
 (Required except for the standard 14 fonts; must be an indirect reference) A font descriptor describing the font’s metrics other than its glyph widths. Note: For the standard 14 fonts, the entries FirstChar, LastChar, Widths, and FontDescriptor must either all be present or all be absent. Ordinarily, they are absent; specifying them enables a standard font to be overridden. More...
 

Detailed Description

Predefined keys of this dictionary.

Member Data Documentation

◆ BaseFont

const new string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.BaseFont = "/BaseFont"
static

(Required) The PostScript name of the font. For Type 1 fonts, this is usually the value of the FontName entry in the font program; for more information. The Post-Script name of the font can be used to find the font’s definition in the consumer application or its environment. It is also the name that is used when printing to a PostScript output device.

◆ Encoding

const string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.Encoding = "/Encoding"
static

(Optional) A specification of the font’s character encoding if different from its built-in encoding. The value of Encoding is either the name of a predefined encoding (MacRomanEncoding, MacExpertEncoding, or WinAnsiEncoding, as described in Appendix D) or an encoding dictionary that specifies differences from the font’s built-in encoding or from a specified predefined encoding.

◆ FirstChar

const string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.FirstChar = "/FirstChar"
static

(Required except for the standard 14 fonts) The first character code defined in the font’s Widths array.

◆ FontDescriptor

const new string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.FontDescriptor = "/FontDescriptor"
static

(Required except for the standard 14 fonts; must be an indirect reference) A font descriptor describing the font’s metrics other than its glyph widths. Note: For the standard 14 fonts, the entries FirstChar, LastChar, Widths, and FontDescriptor must either all be present or all be absent. Ordinarily, they are absent; specifying them enables a standard font to be overridden.

◆ LastChar

const string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.LastChar = "/LastChar"
static

(Required except for the standard 14 fonts) The last character code defined in the font’s Widths array.

◆ Name

const string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.Name = "/Name"
static

(Required in PDF 1.0; optional otherwise) The name by which this font is referenced in the Font subdictionary of the current resource dictionary.

◆ Subtype

const new string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.Subtype = "/Subtype"
static

(Required) The type of font; must be TrueType for a TrueType font.

◆ ToUnicode

const string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.ToUnicode = "/ToUnicode"
static

(Optional; PDF 1.2) A stream containing a CMap file that maps character codes to Unicode values.

◆ Type

const new string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.Type = "/Type"
static

(Required) The type of PDF object that this dictionary describes; must be Font for a font dictionary.

◆ Widths

const string PdfSharp.Pdf.Advanced.PdfTrueTypeFont.Keys.Widths = "/Widths"
static

(Required except for the standard 14 fonts; indirect reference preferred) An array of (LastChar - FirstChar + 1) widths, each element being the glyph width for the character code that equals FirstChar plus the array index. For character codes outside the range FirstChar to LastChar, the value of MissingWidth from the FontDescriptor entry for this font is used. The glyph widths are measured in units in which 1000 units corresponds to 1 unit in text space. These widths must be consistent with the actual widths given in the font program.


The documentation for this class was generated from the following file: