Page MenuHome

Text rendering: Add full support for complex scripts layout (like devanagari, thai, etc.)
Confirmed, LowPublicTO DO


There has been a (low-level) stream of reports since years now, about users wanting to write in Blender in their own language, which requires complex script layout.

This is currently not possible in Blender, we only have a very basic/simple layout code. Some scripts (like Arabic one) can partially work around the situation by using (pasting) some kind of 'pre-processed' strings using pre-layed-out unicode points instead of the 'raw' ones, but this means people cannot directly type in Blender in those languages either. And this is not available for other scripts, like many from South-East Asia (India, Cambodia…).

Most obvious solution currently would seem to be to replace out current layout code with HarffBuzz, probably together with fribidi.

This is not a terrific amount of work, but likely not a very simple one either, and though most of it should be limited to the BLF area of the code, it could require some changes elsewhere too. First step would be to try a quick proof-of-concept, to see how well that could be going…

See also D1809: Complex Text Layout, an old patch adding support to complex scripts.

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from 90 to Low.Jul 22 2019, 4:11 PM
Bastien Montagne (mont29) created this task.

I know that this is not a high-priority task, but still think we should consider it at some point. It would also be nice to be able to refer to it when closing related bug reports we keep getting (like lastest one, T67438: Error Font), and as a basis if someone volunteers to work on it. Might even make a nice GSoC project?

If the User Interface project admins agree with it, this should be listed in T63726: User Interface Module .

Will Text object language support be possible?

I'm fine with this being added on the UI module page.

@zdy (NGENNGT) what would be the point/usage for such a setting?

@Brecht Van Lommel (brecht) thx, will do then. :)

Bastien Montagne (mont29) renamed this task from Text rendering: Add full support for complex scripts layout (like devanagri, thai, etc.) to Text rendering: Add full support for complex scripts layout (like devanagari, thai, etc.).Jul 22 2019, 4:41 PM

mentioning T62011 addon to write reversed text order