Replies: 9 comments 11 replies
-
@kodbuzz thanks as usual, I will try to fix it, as it is a limitation with the characters (I did change the fonts today) would you please double check downloading the Main please? |
Beta Was this translation helpful? Give feedback.
-
@sca075 Good evening, since I'm on the latest commit, which was made approx 5hrs ago, it seems that the issue still persists. Btw I'm not certain if Cyrillic alphabets encounter the same rendering issue, shall we test with Cyrillic as well? |
Beta Was this translation helpful? Give feedback.
-
@kodbuzz of course if you found a font for it would be appreciated if you could share it so that it will be used. Just as question. Lato was previously working with Japanese? |
Beta Was this translation helpful? Give feedback.
-
@sca075 unfortunately no, afaik the "status_text" field has never rendered correctly when it contains Japanese/Chinese characters even in previous versions, It seems like more of an aesthetic issue to me, so I didn't submit the problem in the past few weeks as I was quite occupied too. |
Beta Was this translation helpful? Give feedback.
-
@kodbuzz okay we will found a way to make it work 😉 |
Beta Was this translation helpful? Give feedback.
-
@kodbuzz release 1.5.9-rc1 include a font that can show the Japanese characters |
Beta Was this translation helpful? Give feedback.
-
@sca075 confirmed, it works like a charm, thank you! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@kodbuzz I think we have a possible compromise, will use both fonts it's jus a string operation more to add. |
Beta Was this translation helpful? Give feedback.
-
Checklist
The problem
Japanese and Chinese characters are displayed incorrectly when the room is named in these languages.
I attempted to resolve the issue using 'Pillow' with the specified Noto-CJK font from 'https://github.com/notofonts/noto-cjk/'. While this approach worked, it resulted in the loss of the charging indicator letter (lightning). Additionally, adding an extra font file, which is approximately 60MB, it does present another challenge imho.
Is there any other approach that could effectively address this issue?
This image shows the results using 'Pillow' with font Noto-CJK.
What version of an integration has described problem?
1.5.8
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
Mi Robot Vacuum-Mop P (Viomi v7)
Please firmware installed on your Vacuum.
0047 - Valetudo 2023.12.0
What type of platform you use?
VEMLinux (Virtual Machine) such as Proxmox, VMWare, etc.
What version of Home Assistant do you use?
2024.2.4
What type of installation are you running?
Home Assistant OS
Camera's settings.
No response
Logs or Errors shown in the HA snapshots (please enable the Debug Mode)
No response
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions