A Question About Using Multiple Character Set Fonts Simultaneously #2723
Unanswered
LiwareTech
asked this question in
Q&A
Replies: 1 comment 6 replies
-
|
My suggestion would to go ahead with a single complete font and see whether it fits into your micro controller. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A Question About Using Multiple Character Set Fonts Simultaneously
Hello, I'm a developer currently working on a music player. First of all, thank you for your contributions to U8g2lib and for taking the time to read my question amidst your busy schedule.
I am currently facing some issues, such as many song titles and lyrics extending far beyond the GB2312 character set, even including Japanese and Korean characters (in fact, while the u8g2_font_wqy13_t_gb2312 character set includes some Japanese kana, it still lacks Japanese kanji like "僕"). This results in missing characters and incomplete display when showing lyrics like "ハロー、セカイ 僕(ぼく)の声(こえ)はちゃんと届(とど)いてるかい".
I haven't yet found a suitable method to handle the display of such a diverse range of characters. I have a small suggestion: for instance, adding a font that supports Unicode (or a font file that supports the complete CJK character set would also work, since MCU Flash sizes are quite large nowadays—for example, my ESP32-S3 has an external 32MB Flash, which should be sufficient to store a CJK font set). Alternatively, it might be possible to use multiple font files simultaneously (which I refer to as pre-selected fonts) by adding an AddFont() function. Then, when using setFont(xxx), the pre-selected fonts could be cleared, and only the xxx font would be used.
If this method is difficult to implement, I apologize for taking up your time. If it is feasible, however, I would be delighted to see this potentially groundbreaking update in the near future.
Once again, thank you and thank you for your library, U8g2lib.h.It has been a tremendous help to me.
(This text was translated by AI. I apologize for any grammar errors that may have occurred.)
Love From China.
Beta Was this translation helpful? Give feedback.
All reactions