FontType

Inheritance: java.lang.Object, java.lang.Enum

public enum FontType extends Enum<FontType>

Specifies Font type.

Fields

FieldDescription
TTFTTF (TrueType) Font type and related.
Type1Type1 Font type.
CFFCFF (Compact font format) Font type.
OTFOpenType Font.

Methods

MethodDescription
values()
valueOf(String name)

TTF

public static final FontType TTF

TTF (TrueType) Font type and related.

Type1

public static final FontType Type1

Type1 Font type.

CFF

public static final FontType CFF

CFF (Compact font format) Font type.

OTF

public static final FontType OTF

OpenType Font. OpenType Font format is an extension of the TrueType Font format, adding support for PostScript Font data.

values()

public static FontType[] values()

Returns: com.aspose.font.FontType[]

valueOf(String name)

public static FontType valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: FontType