Table of Contents

Class DescriptorFontFile

Namespace
UglyToad.PdfPig.PdfFonts
Assembly
UglyToad.PdfPig.dll

Holds the location and type of the stream containing the corresponding font program.

public class DescriptorFontFile
Inheritance
DescriptorFontFile
Inherited Members

Remarks

This can either be a Type 1 font program (FontFile - Type1), a TrueType font program (FontFile2 - TrueType) or a font program whose format is given by the Subtype of the stream dictionary (FontFile3 - FromSubtype). At most only 1 of these entries is present.

Constructors

DescriptorFontFile(IndirectReferenceToken, FontFileType)

Create a new DescriptorFontFile.

public DescriptorFontFile(IndirectReferenceToken key, DescriptorFontFile.FontFileType fileType)

Parameters

key IndirectReferenceToken
fileType DescriptorFontFile.FontFileType

Properties

FileType

The type of the font program represented by this descriptor.

public DescriptorFontFile.FontFileType FileType { get; }

Property Value

DescriptorFontFile.FontFileType

ObjectKey

The object containing the stream for this font program.

public IndirectReferenceToken ObjectKey { get; }

Property Value

IndirectReferenceToken