Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IPublicationStyleFontFace

Index

Properties

family

family: string

The font family name for this font face. Cannot be any of the reserved words:

  • 'serif'
  • 'sans-serif'
  • 'cursive'
  • 'fantasy'
  • 'monospace'

Optional fontStretch

fontStretch?: string

Sets the value to use for font-stretch for the corresponding @font-face rule. See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-stretch

If undefined, font-stretch is not added to the @font-face.

nodefault

Optional fontStyle

fontStyle?: string

Sets the value to use for font-style for the corresponding @font-face rule. See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-style

If undefined, font-style is not added to the @font-face.

nodefault

Optional fontWeight

fontWeight?: string

Sets the value to use for font-weight for the corresponding @font-face rule. See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-weight

If undefined, font-weight is not added to the @font-face.

nodefault

mediaType

mediaType: MediaType

The media type of the font.

src

src: string

The font source data as a base64 string. To ensure compatibility, it is recommended to use a .woff, .otf or .ttf font. When using .otf or .ttf font, the font will only work on IE if the font is set to "installable"

Generated using TypeDoc