GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfFontStyle Enum

    Namespace:
    GemBox.Pdf.Content
    Assembly:
    GemBox.Pdf.dll

    Represents the style of a font as normal, italic or oblique.

    • C#
    • VB.NET
    public enum PdfFontStyle
    Public Enum PdfFontStyle
    Remarks

    The PdfFontStyle fields correspond to the fsSelection definition in the OpenType specification. if fsSelection bit 9 is set, font style is Oblique; otherwise, if fsSelection bit 0 is set, font style is Italic; otherwise, font style is Normal.

    Fields

    Italic

    The characters are truly slanted and appear as they were designed.

    Normal

    The characters are upright.

    Oblique

    The characters are artificially slanted. The slant is achieved by performing a shear transformation on the characters from a normal font. When a true italic font is not available on a computer or printer, an oblique style can be generated from the normal font and used to simulate an italic font.

    See Also
    PDF Specification ISO 32000-1:2008, section '9.8.2 Font Descriptor Flags'
    OpenType font file 'OS/2' table <em>fsSelection</em> field
    OpenType font file 'head' table <em>macStyle</em> field
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.