Page 1 of 1

emWin and TTF TrueType Font related

Posted: 23 May 2021, 17:08
by 9chuckyoung
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/

Re: emWin and TTF TrueType Font related

Posted: 13 Mar 2023, 15:18
by shliu123
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

Re: emWin and TTF TrueType Font related

Posted: 26 Jun 2023, 10:22
by shliu123
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