Skip to content

Instantly share code, notes, and snippets.

@hansent
Created February 12, 2013 17:34
Show Gist options
  • Save hansent/4771591 to your computer and use it in GitHub Desktop.
Save hansent/4771591 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
from kivy.app import App
from kivy.lang import Builder
kv_ui = """
BoxLayout:
padding: 10
Label:
valign: 'middle'
text_size: self.size
text: u'العربية'
Label:
valign: 'middle'
halign: 'right'
text_size: self.size
text: u'العربية'[::-1]
"""
class TestApp(App):
def build(self):
return Builder.load_string(kv_ui)
TestApp().run()
@engmms
Copy link

engmms commented Sep 9, 2016

it really not work with me in python 2.7
I hope you find another solution to Arabic Fonts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment