Class TtfToCffConversionOptions

TtfToCffConversionOptions class

Represents options for converting a TrueType font to CFF format.

public class TtfToCffConversionOptions : ConversionOptions

Constructors

NameDescription
TtfToCffConversionOptions()The default constructor.

Properties

NameDescription
CffFontName { get; set; }Specifies the name of the CFF font created when converting a TrueType font to CFF. If empty, the name of the original TrueType font is used.
GenerateCIDKeyedFont { get; set; }Specifies whether to generate a CID-keyed CFF font when converting a TrueType font to CFF. If true, a CID-keyed CFF font is generated, allowing up to 65,535 glyphs from the original TrueType font to be preserved, but without encoding information. If false, a regular CFF font is generated, allowing encoding information to be preserved, but limiting the number of encoded glyphs to 255. The default value is true.
Ordering { get; set; }Specifies the Ordering component of the ROS (Registry, Ordering, Supplement) operator for the generated CID-keyed CFF font. This value is used only when GenerateCIDKeyedFont is set to true. The default value is “Identity”.
Registry { get; set; }Specifies the Registry component of the ROS (Registry, Ordering, Supplement) operator for the generated CID-keyed CFF font. This value is used only when GenerateCIDKeyedFont is set to true. The default value is “Adobe”.
Supplement { get; set; }Specifies the Supplement component of the ROS (Registry, Ordering, Supplement) operator for the generated CID-keyed CFF font. This value is used only when GenerateCIDKeyedFont is set to true. The default value is 0.
UpdateStringsStrategy { get; set; }Strategy that used for updating strings in the CFF String INDEX structure when converting font from TTF to CFF format. The SearchForDuplicates option is used by default.

See Also