bugif
This commit is contained in:
parent
f04714d491
commit
37087c30db
10
kivyblocks/setconfig.py
Normal file
10
kivyblocks/setconfig.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import kivy
|
||||||
|
import kivyblocks
|
||||||
|
from kivy.config import Config
|
||||||
|
from kivy.resources import resource_add_path
|
||||||
|
resource_add_path(os.path.join(os.path.dirname(kivyblocks.__file__),'./ttf'))
|
||||||
|
Config.set('kivy', 'default_font', [
|
||||||
|
'msgothic',
|
||||||
|
'DroidSansFallback.ttf'])
|
||||||
|
|
||||||
|
config_set = True
|
Loading…
Reference in New Issue
Block a user