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

    Show / Hide Table of Contents

    PdfFontStretch Enum

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

    Represents the degree to which a font has been stretched compared to the normal aspect ratio of that font.

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

    The PdfFontStretch field values correspond to the usWidthClass definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9 — lower values indicate narrower widths; higher values indicate wider widths.

    Fields

    Condensed

    The condensed font stretch that represents 75% of the normal aspect ratio of the font form.

    Expanded

    The expanded font stretch that represents 125% of the normal aspect ratio of the font form.

    ExtraCondensed

    The extra-condensed font stretch that represents 62.5% of the normal aspect ratio of the font form.

    ExtraExpanded

    The extra-expanded font stretch that represents 150% of the normal aspect ratio of the font form.

    Normal

    The normal font stretch that represents 100% of the normal aspect ratio of the font form.

    SemiCondensed

    The semi-condensed font stretch that represents 87.5% of the normal aspect ratio of the font form.

    SemiExpanded

    The semi-expanded font stretch that represents 112.5% of the normal aspect ratio of the font form.

    UltraCondensed

    The ultra-condensed font stretch that represents 50% of the normal aspect ratio of the font form.

    UltraExpanded

    The ultra-expanded font stretch that represents 200% of the normal aspect ratio of the font form.

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

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.