freetypy.TT_WIDTH_CLASS

class freetypy.TT_WIDTH_CLASS

⨎ Width values for the TT_OS2.width_class property.

  • ULTRA_CONDENSED: 50% of normal
  • EXTRA_CONDENSED: 62.5% of normal
  • CONDENSED: 75% of normal
  • SEMI_CONDENSED: 87.5% of normal
  • MEDIUM: 100% of normal (aliased to NORMAL)
  • SEMI_EXPANDED: 112.5% of normal
  • EXPANDED: 125% of normal
  • EXTRA_EXPANDED: 150% of normal
  • ULTRA_EXPANDED: 200% of normal

Attributes

CONDENSED
EXPANDED
EXTRA_CONDENSED
EXTRA_EXPANDED
MEDIUM
NORMAL
SEMI_CONDENSED
SEMI_EXPANDED
ULTRA_CONDENSED
ULTRA_EXPANDED