Languages are crucial for selecting which OpenType feature to apply to the
buffer which can result in applying language-specific behaviour. Languages
are orthogonal to the scripts, and though they are related, they are
different concepts and should not be confused with each other.
Use hb_language_from_string() to convert from BCP 47 language tags to
HarfBuzz.language_t.
Sets the language of
buffertolanguage.Languages are crucial for selecting which OpenType feature to apply to the buffer which can result in applying language-specific behaviour. Languages are orthogonal to the scripts, and though they are related, they are different concepts and should not be confused with each other.
Use
hb_language_from_string()to convert from BCP 47 language tags to HarfBuzz.language_t.