Browse Source

change main font

liushuai 8 tháng trước cách đây
mục cha
commit
f1d4448bd2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -128,7 +128,7 @@ demo_n=0
 pressTime=0
 systemRunNum=0
 
-image.load_freetype("/root/preset/fonts/simhei.ttf")
+image.load_freetype("/root/preset/fonts/SourceHanSansCN-Regular.otf")
 def screenFirstPage():
     from maix import display,image,camera
     global splash,title_logo_text,btn_col,btn_row,splash_text,txt_unselected,txt_selected,btn_selected,btn_unselected,\