OpenTypeFeatures

OpenTypeFeatures

Overview

OpenTypeFeatures is a class in Aspose.PDF FOSS for .NET.

The OpenType features a font carries, and what a run of text becomes once they are applied: liga turns “fi” into the single glyph a good face draws it with, onum draws digits that sit on the old-style line, ss01 picks a face’s first stylistic set.

This class declares 1 method for OpenTypeFeatures objects in .NET programs. Available methods include: Apply. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
Apply(fontProgram: byte[], text: string, features: IReadOnlyList<string>)The glyphs text becomes in fontProgram once features have been applied, each with the index of the first character it stands for.

See Also