public final class FontFileType extends FileType implements Serializable
Defines Font documents.
Includes the following types:
Ttf,
Eot,
Otf,
Cff,
Type1,
Woff,
Woff2,
Learn more about Font formats here.
| Modifier and Type | Field and Description |
|---|---|
static FontFileType |
Cff
A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont.
|
static FontFileType |
Eot
A file with .eot extension is an OpenType font that is embedded in a document.
|
static FontFileType |
Otf
A file with .otf extension refers to OpenType font format.
|
static FontFileType |
Ttf
A file with .ttf extension represents font files based on the TrueType specifications font technology.
|
static FontFileType |
Type1
Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript.
|
static FontFileType |
Woff
A file with .woff extension is a web font file based on the Web Open Font Format (WOFF).
|
static FontFileType |
Woff2
A file with .woff extension is a web font file based on the Web Open Font Format (WOFF).
|
| Constructor and Description |
|---|
FontFileType()
Serialization constructor
|
| Modifier and Type | Method and Description |
|---|---|
ConvertOptions |
getConvertOptions()
Prepared default convert options for the file type
|
static FileType[] |
getExcludedSourceTypes() |
static FileType[] |
getExcludedTargetTypes() |
LoadOptions |
getLoadOptions()
Prepared default load options for the source file type
|
equals, equals, fromExtension, fromFilename, fromStream, getAllTypes, getAllTypes, getAllTypes, getDescription, getExtension, getFamily, getFileFormat, hashCode, isObsolete, toStringcompareTo, fromDisplayName, fromValue, getAll, op_Equality, op_Inequalitypublic static final FontFileType Ttf
public static final FontFileType Eot
public static final FontFileType Otf
public static final FontFileType Cff
public static final FontFileType Type1
public static final FontFileType Woff
public static final FontFileType Woff2
public LoadOptions getLoadOptions()
FileTypegetLoadOptions in class FileTypepublic ConvertOptions getConvertOptions()
FileTypegetConvertOptions in class FileTypepublic static FileType[] getExcludedSourceTypes()
public static FileType[] getExcludedTargetTypes()
Copyright © 2026. All rights reserved.