Created
June 2, 2014 13:03
-
-
Save yukirin/4b15e503b0d0d6cee770 to your computer and use it in GitHub Desktop.
kivyで日本語表示
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.core.text import LabelBase, DEFAULT_FONT | |
from kivy.resources import resource_add_path | |
resource_add_path("/usr/share/fonts/truetype/takao-gothic") | |
LabelBase.register(DEFAULT_FONT, "TakaoPGothic.ttf") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment