微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 kivy font thai 中使用自定义字体

如何解决在 kivy font thai 中使用自定义字体

原文:

enter image description here

在kivy中显示

enter image description here

我尝试将 font_size 添加到泰语字体中。

随时通知

解决方法

下载该语言的字体。下载时,将文件放在项目文件中。然后在 text 下方输入:

font_name: 'name of the file you downloaded'
font_size: 40      #size of the text duh
size: 50,50       #you can try thos to resize them
size_hint: .1,.1  #this is more usable

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。