Skip to content

Class 0xbb778e9b

15.21

Class Documentation

Edit documentation

One face of a 0x215f4776 font family: a font file and the weight and style it provides.

Properties

FilePath

String = ""
Edit documentation

Path of the font file. The client loads it the first time a font uses the face, and every font that names the same path shares the loaded file.

Examples:
  • ASSETS/UX/Fonts/Spiegel-SemiBold.otf

Style

U8 = 0
Edit documentation

The style this face provides, compared with FontStyle of the style entry. Shipped faces use 0 for upright and 1 for italic.

WEIGHT

U8 = 4
Type history (2 revisions)
  • 15.21 - 15.21 U32
  • since 15.22 U8
Edit documentation

The weight this face provides, compared with FontWeight of the style entry. 7 is also the weight the client looks for when it picks the bold face. Shipped values follow the CSS weights divided by 100: 3 Light, 4 Regular, 5 Medium, 6 SemiBold, 7 Bold, 8 Heavy.

displayName

String = ""
Edit documentation

The face's name, for example Bold Italic. Building a font does not read it.

Referenced by 1 class · 1 property