Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

PdfTextShapingMode

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Controls dependency-free generated text shaping applied before PDF glyph writing.

Inheritance

  • Enum
  • PdfTextShapingMode

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 5

Values

public const PdfTextShapingMode UnicodeScalar #

Write one font glyph for each Unicode scalar, with no built-in substitutions.

Value: 0
public const PdfTextShapingMode LatinLigatures #

Apply built-in substitutions for the standard Latin presentation ligatures ff, fi, fl, ffi, and ffl when the embedded font covers them. Text with ZWJ, ZWNJ or emoji sequence characters uses the font's OpenType shaping instead, because only the font can join it.

Value: 1
public const PdfTextShapingMode OpenTypeLigatures #

Apply the embedded font's default Latin GSUB ligatures, preserving source text for extraction. Unsupported lookups retain scalar output and diagnostics.

Value: 2