PistonDevelopers / gfx_text

Draw text for gfx using freetype
http://docs.piston.rs/gfx_text/gfx_text/
MIT License
22 stars 12 forks source link

Text Shaping Engine #58

Open davll opened 7 years ago

davll commented 7 years ago

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.

alt text

Harfbuzz Examples