Replies: 6 comments 17 replies
-
This looks very cool! Nice work. I need a little time to read the (translated) article. Then, let's discuss how to make this convenient for developers. |
Beta Was this translation helpful? Give feedback.
-
hello I think it's better to take variables from manifest config.
I'm trying it now, so I'll write another comment. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello I have confirmed that it works, so I pulled request it. Thank you. |
Beta Was this translation helpful? Give feedback.
-
@phoddie @NW-Lab |
Beta Was this translation helpful? Give feedback.
-
@phoddie Other bitmap font files are in $MODDABLE/examples/assets/fonts directory and a Japanese scalable font in $MODDABLE/examples/assets/scalablefonts/NotoSans directory. To avoid pre-create font files, one of option is to add bitmap font files in above directory and another option is to create bitmap font from scalable font in mcconfig build process by defining manifest like below.
|
Beta Was this translation helpful? Give feedback.
-
I tried to display Japanese characters on Node-RED MCU Dashboard.
Node-RED flow editor outputs localized flows.json at default, so the name of tags are in Japanese.
English -> Japanese
home -> "ホーム"
default -> "デフォルト"
button -> "ボタン"
It looks like as below.
home -> "???"
default -> "???"
button A -> "???A"
button B -> "???B"
I successed to display Japanese characters by creating fonts and changing
manifest.json
ui_templates.js
https://qiita.com/kitazaki/items/a59fad56db2d6ec99ee0
I think that it is useful to change the Piu font from Node-RED flow editor (node-red-mcu-plugin).
Is there any other good idea?!
Beta Was this translation helpful? Give feedback.
All reactions