Giter Site home page Giter Site logo

m5stack_rus_fonts's People

Contributors

oxy976 avatar

Stargazers

 avatar  avatar  avatar

m5stack_rus_fonts's Issues

После обновления библиотеки M5Stack, перестала отображаться кириллица

Доброго дня.
Судя по комментария в Readme, не один я заметил, что сломалось отображение шрифтов.
Насколько я понял, они подняли версию библиотеки TFT_eSPI и вроде как добавили поддержку юникода. Но вот добавить шрифты с национальными символами "забыли".
В оригинальной библиотеке TFT_eSPI есть пример, где с SPIFS загружается шрифт в формате VLW. Там всякие иероглифы отображаются нормально.
Видимо теперь всё сводится к тому, что бы сделать подходящие шрифты в данном формате.
Может, конечно, можно и в RobotoR16pt8b.h какой ни будь добавить кириллицу, так что бы она работала "из коробки", но пока не знаю как к этому подступиться. Подозреваю, что в итоге, из проекта нужно будет выбросить библиотеку utf8rus.
Тут виден момент, когда была внесена правка:
https://github.com/m5stack/M5Stack/commits/master/src/utility/In_eSPI.cpp
Здесь пример из оригинальной библиотеки, показывающий работу с юникодом. Код во многом совместим.
https://github.com/Bodmer/TFT_eSPI/tree/master/examples/Smooth%20Fonts/Unicode_test

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.