Giter Site home page Giter Site logo

找不到字体 about pyocd_gui HOT 4 CLOSED

FangYuFan avatar FangYuFan commented on July 17, 2024
找不到字体

from pyocd_gui.

Comments (4)

FangYuFan avatar FangYuFan commented on July 17, 2024

另外,自己添加字体后,发布exe,运行也有报错,你知道是哪里出错了吗
image

from pyocd_gui.

alwaysmy avatar alwaysmy commented on July 17, 2024

哦我搞忘记这一点了,直接安装德意黑字体到系统后编译即可。

如果你不想用这个字体,去掉代码中对字体的包含,
就是这一段:

namespace fonts.德意黑{ 
    family = ..fonts.addFamily($"~/lib/fonts/.res/得意黑.ttf") 
}

然后修改用到这个字体的控件的字体选项就好了,我这里只有擦除和下载两个按键用了。
image

from pyocd_gui.

alwaysmy avatar alwaysmy commented on July 17, 2024

另外,自己添加字体后,发布exe,运行也有报错,你知道是哪里出错了吗 image

这个看起来不是字体的问题,我没有触发过这个错误,可以告知一下你安装的pyocd版本是什么还有你手工执行pyocd list命令后显示什么吗(截个图),用我发布的exe也会出现同样的错误吗

from pyocd_gui.

FangYuFan avatar FangYuFan commented on July 17, 2024

另外,自己添加字体后,发布exe,运行也有报错,你知道是哪里出错了吗 image

这个看起来不是字体的问题,我没有触发过这个错误,可以告知一下你安装的pyocd版本是什么还有你手工执行pyocd list命令后显示什么吗(截个图),用我发布的exe也会出现同样的错误吗

用你打包的那个没啥问题,可能是我自己电脑环境的原因,我再看看

from pyocd_gui.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.