zhangzengfei
2023-06-29 1bed0e1cecc21294580e3447516a90d4b3e270a7
main.go
@@ -49,6 +49,13 @@
      // 微软雅黑-常规
      if strings.Contains(path, "msyh.ttf") {
         os.Setenv("FYNE_FONT", path)
         break
      }
      // 黑体-常规
      if strings.Contains(path, "simhei.ttf") {
         os.Setenv("FYNE_FONT", path)
         break
      }
   }