monks/font_variant_east_asian

The font-variant-east-asian CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.

Values

pub const full_width: #(String, String)
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const jis04: #(String, String)

jis04 value of font-variant-east-asian

pub const jis78: #(String, String)

jis78 value of font-variant-east-asian

pub const jis83: #(String, String)

jis83 value of font-variant-east-asian

pub const jis90: #(String, String)

jis90 value of font-variant-east-asian

pub const normal: #(String, String)
  • : This keyword leads to the deactivation of the use of such alternate glyphs.
pub const proportional_width: #(String, String)

proportional-width value of font-variant-east-asian

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for font-variant-east-asian

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const ruby: #(String, String)
  • : This keyword forces the use of special glyphs for ruby characters. As these are usually smaller, font creators often designs specific forms, usually slightly bolder to improve the contrast. This keyword corresponds to the OpenType values ruby.
pub const simplified: #(String, String)

simplified value of font-variant-east-asian

pub const traditional: #(String, String)

traditional value of font-variant-east-asian

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for font-variant-east-asian. It will be wrapped in var() and have -- prepended.

Search Document