Table of Contents

Class PdfType0Font.Keys

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

Predefined keys of this dictionary.

public sealed class PdfType0Font.Keys : PdfFont.Keys
Inheritance
object
PdfType0Font.Keys
Inherited Members

Fields

BaseFont

(Required) The PostScript name of the font. In principle, this is an arbitrary name, since there is no font program associated directly with a Type 0 font dictionary. The conventions described here ensure maximum compatibility with existing Acrobat products. If the descendant is a Type 0 CIDFont, this name should be the concatenation of the CIDFont’s BaseFont name, a hyphen, and the CMap name given in the Encoding entry (or the CMapName entry in the CMap). If the descendant is a Type 2 CIDFont, this name should be the same as the CIDFont’s BaseFont name.

DescendantFonts

(Required) A one-element array specifying the CIDFont dictionary that is the descendant of this Type 0 font.

Encoding

(Required) The name of a predefined CMap, or a stream containing a CMap that maps character codes to font numbers and CIDs. If the descendant is a Type 2 CIDFont whose associated TrueType font program is not embedded in the PDF file, the Encoding entry must be a predefined CMap name.

Subtype

(Required) The type of font; must be Type0 for a Type 0 font.

ToUnicode

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

Type

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