Search Results for

    Show / Hide Table of Contents

    Class FontType

    Types of font as supported and used inside a PDF document.

    Inheritance
    System.Object
    FontType
    Namespace: IronPdf.Fonts
    Assembly: IronPdf.dll
    Syntax
    public sealed class FontType : Enum

    Fields

    CIDFontType0

    A descendant font (or CIDFont of a Type0 font that uses Type1 font to defines the glyphs.

    Declaration
    public const FontType CIDFontType0
    Field Value
    Type Description
    FontType

    CIDFontType2

    A descendant font (or CIDFont) of a Type0 font that uses TrueType font to defines the glyphs.

    Declaration
    public const FontType CIDFontType2
    Field Value
    Type Description
    FontType

    MMType

    Multi-master font format is an extension of Type1 font format.

    Declaration
    public const FontType MMType
    Field Value
    Type Description
    FontType
    Remarks

    It allows the generation of a wide variety of typeface styles from a single font program accomplishing through the presense of various design dimensions in the font.

    PDF document that has this type of font referenced inside the document still continue to work normally, but just that we don't have public API to interact or manipulate this specific type of font for now. It might be supported in the future.

    TrueType

    TrueType font contains the same entries information as of Type1 font with some subtle differences. It has been adopted as a standard font format for the Microsoft Windows operating system.

    Declaration
    public const FontType TrueType
    Field Value
    Type Description
    FontType

    Type0

    Type0 font represents a composite font. A composite font consists of a descendant font (CIDFont). Glyphs come from mentioned descendant font.

    Declaration
    public const FontType Type0
    Field Value
    Type Description
    FontType

    Type1

    Type1 font is one of the simple fonts that defines glyph shapes using Type1 font technology.

    Declaration
    public const FontType Type1
    Field Value
    Type Description
    FontType
    Remarks

    It uses a compact encoding for the glyph description, and it includes hint information that enables high-quality rendering even at small sizes and low resolutions.

    Type3

    Type3 font defines the font by streams of PDF graphics operators.

    Declaration
    public const FontType Type3
    Field Value
    Type Description
    FontType
    Remarks

    One key difference is that this is the only type the defines the font, while other types contain the font information to let the PDF reader tool pick up the information for further rendering.

    PDF document that has this type of font referenced inside the document still continue to work normally, but just that we don't have public API to interact or manipulate this specific type of font for now. It might be supported in the future.

    Unknown

    Unknown font type.

    Declaration
    public const FontType Unknown
    Field Value
    Type Description
    FontType
    Remarks

    Mostly this should not happen. If it happens, it can be due to corrupted PDF document, or from a bleeding-edge feature of the newest PDF document standard.

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    IronPDF_for_dotnet_log2o
    Blue key in circleGet started for FREE
    No credit card required
    Test in a live environment

    Test in production without watermarks.
    Works wherever you need it to.

    Fully-functional product

    Get 30 days of fully functional product.
    Have it up and running in minutes.

    24/5 technical support

    Full access to our support engineering team during your product trial

    Grey key in circleGet started for FREE
    The trial form was submitted successfully.
    Calendar in circleBook Free Live Demo
    No contact, no card details, no commitments Book a 30-minute, personal demo.
    Here's what to expect:

    A live demo of our product and its key features

    Get project specific feature recommendations

    All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)

    Grey key in circleBook Free Live Demo
    Your booking has been completed Check your e-mail for confirmation
    Support Team Member 6 related to The C# PDF Library Support Team Member 14 related to The C# PDF Library Support Team Member 4 related to The C# PDF Library Support Team Member 2 related to The C# PDF Library
    Online 24/5
    Need help? Our sales team would be glad to help you.
    Try the Enterprise Trial
    ironpdf_for_dotnet_log2o
    Key in blue circle
    Get your free 30-day Trial Key instantly.
    bullet_checkedNo credit card or account creation required
    Key in blue circle
    Get your free 30-day Trial Key instantly.
    Blue key in circleNo credit card or account creation required
    Green Check in orange circle
    The trial form was submitted successfully.
    badge_greencheck_in_yellowcircle
    Thank you for starting a trial

    Please check your email for the trial license key.

    If you don’t receive an email, please start a live chat or email support@ironsoftware.com

    Install with NuGet
    View Licensing
    • Logo Aetna
    • Logo NASA
    • Logo GE
    • Logo Porsche
    • Logo USDA
    • Logo Qatar
    Join Millions of Engineers who’ve tried IronPDF