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.
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.
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.
The media type of the font.
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"
The URL to the font resource. To ensure compatibility, it is recommended to use a .woff, .otf or .ttf font.
To be able to load fonts by URL, you must also allow remote resources
by configuring EpubReaderPublicationOptions.remoteResourcesNonScriptedDocumentsOptions
.
If both src
and srcUrl
are specified, srcUrl
will be used instead.
Generated using TypeDoc
The font family name for this font face. Cannot be any of the reserved words: