Here I used sinhala as Indic Script instance.
I think the font family has to do something with this issue since output to different font families are different. I'm not an expert in these stuff. Help appreciated to to get this work even with a different font family.
An example is given below for which I've tried with 3 different font families. Code for reproduction
It is a fairly technical project and will probably not be implemented any time soon.
But most solutions that fixes indic script will likewise fix arabic script (*well technically you can have a shaper without RTL support but let's not get there).
Activity
anntzer commented on Jun 23, 2017
The misplaced accent is due to lack of support for combining characters at the freetype level (e.g. https://stackoverflow.com/questions/9985340/how-to-render-combined-unicode-characters-in-freetype). Using a real text layout engine (MEP14) is probably not going to happen any time soon :-/
Not sure what's happening with the missing A (well I guess the glyph is missing? unlikely though) and the missing title of case 2.
Case 3 is just that Arial does not provide Indic characters (in all likelihood) so you're out of luck.
anntzer commented on Nov 4, 2017
/self-promotion/ mplcairo now supports complex text layout using libraqm, this was suprisingly easy to add...

baabsa commented on Feb 24, 2018
can you please illustrate steps for adding and use (libraqm),
I am new in python and I didn't find an easy explanation how it is used.
Thanks in advance.
anntzer commented on Feb 24, 2018
It is a fairly technical project and will probably not be implemented any time soon.
But most solutions that fixes indic script will likewise fix arabic script (*well technically you can have a shaper without RTL support but let's not get there).
baabsa commented on Feb 24, 2018
this issue doesn't appear in printing an Arabic word from DataFrame, it is only appear when I have Arabic words in plot as x axes, y axes, or title!
1 remaining item
anntzer commented on Jul 5, 2019
Actually this issue is basically already tracked at #5941, so I'll close this one as a duplicate.
QuLogic commented on Jun 5, 2025
Not sure why this is a duplicate of #5941, but that's closed and this issue isn't actually fixed.
QuLogic commented on Apr 10, 2026
The text-overhaul branch is now merged to main.