FontFileType
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType
All Implemented Interfaces: java.io.Serializable
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.
Constructors
Constructor | Description |
---|---|
FontFileType() | Serialization constructor |
Fields
Field | Description |
---|---|
Ttf | A file with .ttf extension represents font files based on the TrueType specifications font technology. |
Eot | A file with .eot extension is an OpenType font that is embedded in a document. |
Otf | A file with .otf extension refers to OpenType font format. |
Cff | A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. |
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. |
Woff | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). |
Woff2 | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). |
Methods
Method | Description |
---|---|
getLoadOptions() | |
getConvertOptions() | |
getExcludedSourceTypes() | |
getExcludedTargetTypes() |
FontFileType()
public FontFileType()
Serialization constructor
Ttf
public static final FontFileType Ttf
A file with .ttf extension represents font files based on the TrueType specifications font technology. It was initially designed and launched by Apple Computer, Inc for Mac OS and was later adopted by Microsoft for Windows OS. Learn more about this file format here.
Eot
public static final FontFileType Eot
A file with .eot extension is an OpenType font that is embedded in a document. These are mostly used in web files such as a Web page. It was created by Microsoft and is supported by Microsoft Products including PowerPoint presentation .pps file. Learn more about this file format here.
Otf
public static final FontFileType Otf
A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Developed by Microsoft and Adobe, OTF combines the features of PostScript and TrueType font formats. Learn more about this file format here.
Cff
public static final FontFileType Cff
A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. CFF acts as a container to store multiple fonts together in a single unit known as a FontSet. Learn more about this file format here.
Type1
public static final 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. Although Type 1 fonts are not supported in many modern platforms, web browsers and mobile operating systems, but these are still supported in some of the operating systems. Learn more about this file format here.
Woff
public static final FontFileType Woff
A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format here.
Woff2
public static final FontFileType Woff2
A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format here.
getLoadOptions()
public LoadOptions getLoadOptions()
Prepared default load options for the source file type
Returns: LoadOptions
getConvertOptions()
public ConvertOptions getConvertOptions()
Prepared default convert options for the file type
Returns: ConvertOptions
getExcludedSourceTypes()
public static FileType[] getExcludedSourceTypes()
Returns: com.groupdocs.conversion.filetypes.FileType[]
getExcludedTargetTypes()
public static FileType[] getExcludedTargetTypes()
Returns: com.groupdocs.conversion.filetypes.FileType[]