Explorar el Código

change main font

liushuai hace 7 meses
padre
commit
f1d4448bd2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,\