This commit is contained in:
yumoqing 2022-07-04 19:59:38 +08:00
parent f04714d491
commit 37087c30db

10
kivyblocks/setconfig.py Normal file
View 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