Expand description
Script detection helpers for oxitext-shape.
Provides lightweight Unicode block-range checks to determine whether text
contains characters from a given script family, without requiring a full
ICU4X or Unicode database lookup. These functions are used internally by
crate::SwashShaper::shape_request to apply smart direction defaults and
may also be called directly by consumers.
Functionsยง
- requires_
arabic_ shaping - Returns
trueiftextcontains Arabic/RTL characters requiring complex GSUB. - requires_
indic_ shaping - Returns
trueiftextcontains Indic characters needing conjunct handling. - requires_
mark_ positioning - Returns
trueiftextrequires mark positioning (Thai, Khmer, Myanmar).