Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Font MatrixChunky6.ttf is missing 1 glyph error #258

Open
fthiery opened this issue Dec 2, 2024 · 1 comment
Open

[BUG] Font MatrixChunky6.ttf is missing 1 glyph error #258

fthiery opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fthiery
Copy link

fthiery commented Dec 2, 2024

Bug report

Describe the bug

Installing the default install/ulanzi-easy.yaml file results in "missing glyph" error:

Failed config

font: [source /config/esphome/ulanzi-easy.yaml:79]
  
  Font MatrixChunky6.ttf is missing 1 glyph:
      
   (b'\\n').
  - file: MatrixChunky6.ttf
    id: px6_font
    size: 6
    glyphs: |-
      ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz°

Additional information

  • used Hardware:
    • ESP32
    • EspHoMaTriXv2 version: 2024.12.0

To Reproduce

  1. Deploy fresh install/ulanzi-easy.yaml file
  2. Run install

Expected behavior

Should compile fine.

Fix:

Turns out the base config syntax seems invalid and can be fixed on line 82 with:

     size: 6
-    glyphs:  |
+    glyphs:  |-
       ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz°

@trip5
Copy link
Contributor

trip5 commented Dec 3, 2024

Yeah, it's an ESPHome change.
Came up last week, some discussion: #254
...need the - to avoid adding a new line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants