Currently the library can't work with complex text layout (ex: Arabic, Hindi, Tibetan). Hence, it is necessary to create a text shaping engine to tell how to choose and position glyphs.
Harfbuzz is a mature text shaping lib used by many opensource projects. We can add complex text shaping capability to gfx_text with it.
rusttype also plans to support complex text layout. However, for now it is not in higher priority.
Motivation
Currently the library can't work with complex text layout (ex: Arabic, Hindi, Tibetan). Hence, it is necessary to create a text shaping engine to tell how to choose and position glyphs.
Harfbuzz is a mature text shaping lib used by many opensource projects. We can add complex text shaping capability to gfx_text with it.
rusttype also plans to support complex text layout. However, for now it is not in higher priority.
Harfbuzz Examples