Git Product home page Git Product logo

Comments (8)

bigeagle avatar bigeagle commented on May 29, 2024

I plan to add configuration file so that user can choose font.

from gdanmaku.

taocp avatar taocp commented on May 29, 2024

good idea. 👍

from gdanmaku.

bigeagle avatar bigeagle commented on May 29, 2024

plase pull the latest version and run

./danmaku.py --config

from gdanmaku.

taocp avatar taocp commented on May 29, 2024

额,发现有一个奇怪的问题,帮忙看看怎么回事好不好啊,嘿嘿。
我都是./danmaku_ui.py这样运行的。

  1. 在我这里,./danmaku_ui.py中有一行from config import load_config,改成from settings import load_config就可以运行了。
  2. 运行./danmaku.py --config后随机选择了一个字体(忘记究竟是哪个了),然后再运行就会出错。
    gdan-3
    而且还没办法重新配置了,运行./danmaku.py --config以后出现的窗口是这样的:
    gdan-1
    点击字体想要选择时,程序直接关掉了,错误信息:
    gdan-2

做一个伸手党很可耻,不过我不懂这些,还是交给专业人士比较好,嘿嘿 😄
辛苦啦!

from gdanmaku.

bigeagle avatar bigeagle commented on May 29, 2024

oh it's my fault. Pull latest version, rm ~/.config/gdanmaku/config.json and try config again.
If it does not fix, feel free to tell me.

cheers,

from gdanmaku.

taocp avatar taocp commented on May 29, 2024

嗯嗯,基本工作得很好啦。
只有最后一个小问题了,选择的字体名称(例如“宋体”而非"WenQuanYi")为中文时,~/.config/gdanmaku/config.json内容:
gdan-4
好像有什么奇怪的东西混进去了,如果再次./danmaku.py --config会有点问题:
gdan-5

:D

from gdanmaku.

bigeagle avatar bigeagle commented on May 29, 2024

I see, try the latest version :)

from gdanmaku.

taocp avatar taocp commented on May 29, 2024

awesome!
You just add one letter 'u', 看来我要努力学习,提高自己的水平了。

many thanks!

from gdanmaku.

Related Issues (4)

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.