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

ESP32-S3-Box-3 cannot show Cyrillic characters on screen #185

Open
kyutov opened this issue Apr 5, 2024 · 2 comments
Open

ESP32-S3-Box-3 cannot show Cyrillic characters on screen #185

kyutov opened this issue Apr 5, 2024 · 2 comments

Comments

@kyutov
Copy link

kyutov commented Apr 5, 2024

I have ESP32-S3-Box-3 with the latest firmware build with ESPHome 2024.2.2.

I have configured my Assist Pipeline with Bulgarian language and I have enabled the "Display conversation" option on the S3-Box.

Here are the logs from the S3-Box when I start the conversation and receive response:

[15:19:14][D][esp_adf.microphone:285]: Microphone stopped
[15:19:14][D][voice_assistant:416]: State changed from STOPPING_MICROPHONE to AWAITING_RESPONSE
[15:19:14][D][voice_assistant:523]: Event Type: 4
[15:19:14][D][voice_assistant:551]: Speech recognised as: "Светни лампите."
[15:19:14][D][text_sensor:064]: 'text_request': Sending state 'Светни лампите.'
[15:19:15][W][component:214]: Component voice_assistant took a long time for an operation (0.24 s).
[15:19:15][W][component:215]: Components should block for at most 20-30ms.
[15:19:15][D][voice_assistant:523]: Event Type: 5
[15:19:15][D][voice_assistant:556]: Intent started
[15:19:15][D][voice_assistant:523]: Event Type: 6
[15:19:15][D][voice_assistant:523]: Event Type: 7
[15:19:15][D][voice_assistant:579]: Response: "Включих лампите"
[15:19:15][D][text_sensor:064]: 'text_response': Sending state 'Включих лампите'
[15:19:15][D][voice_assistant:523]: Event Type: 8

and here is how the screen looks like:

Untitled

@kyutov kyutov changed the title ESP32-S3-Box-3 doesn't show Cyrillic characters on screen ESP32-S3-Box-3 cannot show Cyrillic characters on screen Apr 5, 2024
@kyutov kyutov mentioned this issue Apr 5, 2024
@kyutov
Copy link
Author

kyutov commented Apr 17, 2024

The problem is caused by the font "Figtree", which is used to display the text on the screen. As it can be seen in the image below, this font doesn't support the majority of the allowed characters of the firmware. I will try to fix this and prepare a PR. As a temporary solution if someone is facing the same problem just manually replace the used font in the firmware.

Screenshot 2024-04-17 at 18 20 24

@kyutov
Copy link
Author

kyutov commented Apr 25, 2024

I have prepared the following PR #188 with can help solving the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant