FontFileType

FontFileType class

Defines Font documents Includes the following types: TtfEotOtfCffType1WoffWoff2 Learn more about Font formats here.

public sealed class FontFileType : FileType

Constructors

Name Description
FontFileType() Serialization constructor

Properties

Name Description
Description { get; } File type description
Extension { get; } The file extension
Family { get; } The file family
FileFormat { get; } The file format

Methods

Name Description
CompareTo(object) Compares current object to other.
override Equals(Enumeration) Implements Equals
override Equals(object) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.
override ToString() String representation

Fields

Name Description
static readonly 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.
static readonly 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.
static readonly 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.
static readonly 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.
static readonly 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.
static readonly 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.
static readonly 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.

See Also