kCTLanguageAttributeName

Static kCTLanguageAttributeName 

Source
pub unsafe static kCTLanguageAttributeName: &'static CFString
Available on crate feature CTStringAttributes only.
Expand description

Specifies text language.

Value must be a CFStringRef containing a locale identifier. Default is unset. When this attribute is set to a valid identifier, it will be used to select localized glyphs (if supported by the font) and locale-specific line breaking rules.

See also Apple’s documentation