PublicationStyleFontFace

data class PublicationStyleFontFace(val family: String, val mediaType: MediaType, val src: String)

Constructors

Link copied to clipboard
fun PublicationStyleFontFace(family: String, mediaType: MediaType, src: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

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

Link copied to clipboard

The media type of the font.

Link copied to clipboard
val 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"