liushuai 3 kuukautta sitten
vanhempi
commit
810dae2c10
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      main.py

+ 3 - 3
main.py

@@ -135,7 +135,7 @@ def screenFirstPage():
 splash_theme_color,btn_height,btn_width,main_title,menuSelect,gc_log,demo_i,demo_j,demo_m,demo_n,screenShow,img_drop,\
 frostedGlass
     gc_log()
-    image.load_freetype("/root/preset/fonts/simhei.ttf")
+    image.load_freetype("/root/preset/fonts/SourceHanSansCN-Regular.otf")
     splash.clear()
     splash.draw_rectangle(0,0,320,320,color=splash_theme_color,thickness=-1)
     splash.draw_image(title_logo_text, btn_col[0]+16, 10)
@@ -183,7 +183,7 @@ splash_theme_color,btn_height,btn_width,main_title,demoSelect,gc_log,color_splas
 color_white,color_gray,color_orange,color_red,iconUpNp,iconUpP,iconDownNp,iconDownP,demoListText,screenShow,img_drop,\
 frostedGlass
     gc_log()
-    image.load_freetype("/root/preset/fonts/simhei.ttf")
+    image.load_freetype("/root/preset/fonts/SourceHanSansCN-Regular.otf")
     splash.clear()
     splash.draw_rectangle(0,0,320,240,color=splash_theme_color,thickness=-1)
     splash.draw_rectangle(0,0,320,32,color=color_blue,thickness=-1)
@@ -236,7 +236,7 @@ def systemPage():
 splash_theme_color,btn_height,btn_width,main_title,demoSelect,gc_log,color_splash_theme,color_blue,color_blue_lighter,\
 color_white,color_gray,color_orange,color_red,iconUpNp,iconUpP,iconDownNp,iconDownP,demoListText,screenShow,img_drop,\
 frostedGlass
-    image.load_freetype("/root/preset/fonts/simhei.ttf")
+    image.load_freetype("/root/preset/fonts/SourceHanSansCN-Regular.otf")
     for i in range(10):
         splash.draw_image(frostedGlass, 0, 0,alpha=0.2)
         #screenShow()