Issues with printing languages in unicode.
See original GitHub issueI am trying to print in Tamil and running into an issue where Kivy misprints the unicode language. Here is a short script and an Image showing the issue. To show comparison, here is same text print in Pyside and how it looks correctly.
#!/usr/bin/python
# -*- coding: utf-8 -*-
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='விகடகவி'.decode('utf-8'),font_name='Uni Ila.Sundaram-01.ttf',font_size=50)
TestApp().run()
The language combines letters together and sometimes rearranges consonants around vowels. Kivy has trouble parsing this.
These last two pictures just provide another example of a different phrase on a different computer. Same issue.
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 9 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Unicode Issues - Languagegeek
Unicode is not complete. Several languages have yet to be encoded, and others are not going to be, like many fictional constructed languages....
Read more >Solving International Label Printing Challenges with Unicode™
Asian, Middle Eastern, and Indian languages in particular require a robust Unicode™-solution to ensure proper printing. Arabic and Hebrew are the two most ......
Read more >Display Problems - Unicode
If you are unable to read some Unicode characters in your browser, it may be because your system is not properly configured. Here...
Read more >Printing problem with 'Arial Unicode MS' in Win7 ultimate(32)
Hi, I am using WORD-2007. Os- Win 7 ultimate (32bit) For regional language(Marathi). i am using 'Arial Unicode MS'. It works fine. But,...
Read more >Why don't Unicode characters print correctly from SAP?
The Unicode standard makes it easier to print international characters and fonts in SAP environments. Here are the challenges and how to overcome...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As mentioned here, this should be fixed once sdl_ttf is released (or someone undertakes to build kivy using the unreleased version of sdl_ttf) because it now can use harfbuzz.
@MS-Jahan This issue is open from 2014 .I don’t know why kivy team not solving this problem.