0

i want to use bangla text in a k@ Kivy label. but its not supported. it shows something that's not supported (showing something like box box)

<hello>:
    Label:
        text:"কাল"

also used

<hello>:
    Label:
        text:"কাল".decode("UTF-8")

but not working. can you please help?

  • It appears that you can use any language, as long as you can download a font that supports it. See the documentation [here](https://kivy.org/doc/stable/api-kivy.uix.label.html#catering-for-unicode-languages). – John Anderson Jul 17 '19 at 16:26
  • i downloaded a bangla font and create a folder named font. put that font file in that folder. i add font_name:"font/kalpurush". its working. but getting an error. i wrote text:"কালকে". but when i run that app the label shows " কালক্ে" and for text:"শহরে" it shows "শহর ে". and not showing any complex word like,, text="আস্তানা মাস্তান" it shows " আসতানা মাসতান" how to fix this issue? – ashikuzzaman Jul 17 '19 at 16:42
  • I can only guess that the `kalpurush` font does not support all the characters that you are using. Try different fonts (I see that there are many available for download). – John Anderson Jul 17 '19 at 22:53
  • aslo tried using "SuttonyOMJ" font. but same result – ashikuzzaman Jul 18 '19 at 03:38
  • I am facing this problem till now. @ashikuzzaman did u find any solution?? – Shakib Ahmed Jul 23 '20 at 07:13
  • You can find the solution for Windows and Linux environments for properly rendering Bangla (and other non-english) fonts in Kivy in the answers I have provided in https://stackoverflow.com/questions/63646050/kivy-isnt-showing-bengali-joining-character-properly/63668449#63668449 – amras Sep 06 '20 at 15:09

0 Answers0