Q: How to use TTF with emWin?
A: https://wiki.segger.com/Set_external_TTF_font_(Sample)
Q: Does emWin library contain TTF library or TTF font data resource?
A: No. Details in the link https://forum.segger.com/index.php/Thre ... -in-emWin/
Q: Any limitations?
A: Yes. Details in the link https://forum.segger.com/index.php/Thre ... E-problem/
emWin and TTF TrueType Font related
The attachment could show some TTF fonts with any size, under N9H20 board, the root cause is the APIs pair GUI_TTF_CreateFontAA() & GUI_TTF_DestroyCache(). User could adjust the font sizes to run under N9H20 board.
The sample is for emWin V6.10 + TTF V6.14
The sample is for emWin V6.10 + TTF V6.14
- Attachments
-
- SimpleDemo_TTF_20230310.7z
- (1.19 MiB) Downloaded 6081 times
Last edited by shliu123 on 26 Jun 2023, 14:42, edited 1 time in total.
AppWizard V1.34a must run emWin V6.30a, if user runs AppWizard V1.34a+ TTF V6.10, we will obtain failed symptom, we provide the sample SimpleDemo_TTF_2_20230626.7z to do TTF for emWin V6.30a, The sample is AppWizard V1.34a+emWin 6.30a+TTF library V6.30a
- Attachments
-
- SimpleDemo_TTF_2_20230626.7z
- (649.87 KiB) Downloaded 1685 times
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests