monks/font_synthesis
The font-synthesis shorthand CSS property lets you specify whether or not the browser may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces when they are missing in the specified font-family.
Values
pub const none: #(String, String)
- : Indicates that no bold, italic, or small-caps typeface may be synthesized by the browser.
pub const position: #(String, String)
- : Indicates that the subscript and superscript typeface may be synthesized by the browser, if needed, when using {{cssxref(“font-variant-position”)}}.
pub const revert_layer: #(String, String)
pub const small_caps: #(String, String)
- : Indicates that the small-caps typeface may be synthesized by the browser if needed.
pub const style: #(String, String)
- : Indicates that the italic typeface may be synthesized by the browser if needed.
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for font-synthesis.
It will be wrapped in var() and have -- prepended.