plushie/prop/shaping

Text shaping strategy type.

Basic uses simple shaping; Advanced enables OpenType features like ligatures and contextual alternates.

Types

pub type Shaping {
  Auto
  Basic
  Advanced
}

Constructors

  • Auto
  • Basic
  • Advanced

Values

pub fn to_prop_value(s: Shaping) -> node.PropValue

Encode a Shaping to its wire-format PropValue.

pub fn to_string(s: Shaping) -> String

Convert a Shaping to its wire-format string representation.

Search Document