-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Indic Script labels not rendered correctly #8765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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. |
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. |
It is a fairly technical project and will probably not be implemented any time soon. |
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! |
Actually this issue is basically already tracked at #5941, so I'll close this one as a duplicate. |
Bug report
Bug summary
Title sums it up all I guess.
Related:
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
Actual outcome
Expected outcome
Result 1 looks fine but it has 2 problems:
Issues in result 2:
Issues in result 3:
Versions
(Matplotlib from anaconda bundle)
Wed Jun 14 22:54:11 2017 +0530
The text was updated successfully, but these errors were encountered: