question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with printing languages in unicode.

See original GitHub issue

I 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()

kivy-example pyside-example

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.

kivy-example2

pyside-example2

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mathamcommented, Dec 28, 2020

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.

0reactions
Sahil-pixelcommented, Dec 25, 2020

@MS-Jahan This issue is open from 2014 .I don’t know why kivy team not solving this problem.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found