touchgfx::TextProvider::getNextLigature() method
@fn Unicode::UnicodeChar TextProvider::getNextLigature(TextDirection direction); Gets the next ligature. Gets the next ligature. For most languages this is the same as getNextChar() but eg. Arabic has different ligatures for each character. @see TextProvider::getNextChar()
Arguments
Return value
The next character of the expanded string or 0 if end of string i reached.
Notes
Functions getNextLigature() and getNextChar() will advance through the same buffer and mixing the use of those functions is not recommended and may cause undesired results. Instead create two TextProviders and user getNextChar() on one and getNextLigature() on the other.
Type of touchgfx::TextProvider::getNextLigature()
touchgfx::TextProvider::getNextLigature()