Coder Social home page Coder Social logo

Comments (12)

jie326513988 avatar jie326513988 commented on May 30, 2024 1

Thank you, cheer for you.
I also found that the newline character (0x0a) will cause the device to crash (esp8266).

I modified the code here, and it will work normally.

QQ截图20221217163554

from truetype_arduino.

jie326513988 avatar jie326513988 commented on May 30, 2024 1

Hello, I optimize some places.

  1. Fix the memory leak.
  2. Fix the problem that ascii symbols will cause system crash.
  3. Add routine linked with GXEPD2, which is applicable to ink screen and esp8266.
    However, there are still some Chinese fonts that will cause the system crash. The reason is unknown.
    This is the optimized address https://github.com/jie326513988/truetype_Arduino

from truetype_arduino.

k-omura avatar k-omura commented on May 30, 2024

Thank you for posting.
I'm doing maintenance to make all TTFs visible.
I don't fully understand non-isoline fonts. Can you tell me the name of the font that is not working? Also, if possible, could you post a picture of the failure? Thank you.

from truetype_arduino.

jie326513988 avatar jie326513988 commented on May 30, 2024

I have solved this problem by replacing other fonts. I hope that the font rendering speed can be improved in the future.
On the left is abnormal display, and on the right is normal display.
On the left is 文泉驿等宽正黑.ttf On the right is 华康金刚黑极细.ttf.
未标题-1

from truetype_arduino.

k-omura avatar k-omura commented on May 30, 2024

thank you for teaching me. It was nice to be able to work with other fonts for the time being.
I will try 文泉驿等宽正黑.ttf. (although it will be slow)
I recognize that it is a problem that it takes time. It takes a lot of time to fill in the inside of the characters, but I don't have any ideas for effective countermeasures. I will continue to challenge myself.

This item will be closed when the 文泉驿等宽正黑.ttf error is resolved.

from truetype_arduino.

k-omura avatar k-omura commented on May 30, 2024

Hello.
thank you. I was aware of the memory leak problem, but I could not fix it.
I'm also aware that some font files have some issues, but I'm working on a way to work around that.
thank you for your cooperation

from truetype_arduino.

Related Issues (12)

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.