Table of Contents

Enum FontEmbedMode

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Specifies how to embed fonts to a generated PDF documents.

public enum FontEmbedMode

Fields

DoNotEmbed = 2

Do not embed font bytes.

This option helps decreasing size of produced PDF documents. However, it might produce platform-dependent documents because non-embedded fonts must be available from a system font collection.

The library can write non-embedded fonts for pre-installed system fonts and for built-in fonts.

EmbedAllGlyphs = 0

Embed all available glyphs.

Embedding of all glyphs is useful for fonts used in PDF text boxes or combo boxes.

EmbedUsedGlyphs = 1

Embed used glyphs only.

This option helps decreasing size of produced PDF documents.

The library can embed used glyphs for TrueType/OpenType (not CFF) fonts only.

Remarks

TextStyleWithFont methods accept a parameter of this type. The embed mode parameter affects how many font bytes will be embedded in the produced document.