Giter Site home page Giter Site logo

Default font setting about esphome HOT 2 CLOSED

nagyrobi avatar nagyrobi commented on June 16, 2024
Default font setting

from esphome.

Comments (2)

nagyrobi avatar nagyrobi commented on June 16, 2024

Another reason, even if manually specifying a different font for every used widget, the default font will still be compiled in, as that's the one used to print system messages (like eg. No data when an image can't be loaded), using extra memory space. Which could be saved by specifiying as default a font which will be used anyway.

from esphome.

nagyrobi avatar nagyrobi commented on June 16, 2024

Implemented, but currently only with built-in fonts.

Workaround (as these are the widgets using fonts):

  theme:
    label:
      text_font: your_esphome_fond_id
    btnmatrix:
      items:
        text_font: your_esphome_fond_id

from esphome.

Related Issues (20)

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.