2022-08-03 06:31 AM
Hi
I'm using touchGfx 4.16 to develop my
GUI and I need to use chinese character in my project. I have create a new
typography using SimSun-ExtB font. But when I use a chinese characters in my
resourses and I generate the code I see the following error:
Generate
Code
Generate
Done
Generate
Assets
make -f simulator/gcc/Makefile assets -j8
Reading
./application.config
Error generating
font from C:/TouchGFXProjects/MyApplication_26/assets/fonts/simsunb.ttf
an error
occurred in converting texts:
Error generating
font from C:/TouchGFXProjects/MyApplication_26/assets/fonts/simsunb.ttf
Generating
generated/texts/src/Texts.cpp
"touchgfx/framework/tools/fontconvert/build/win/fontconvert.out"
-f "C:/TouchGFXProjects/MyApplication_26/assets/fonts/simsunb.ttf" -i
1 -w 24 -r 24 -o
"C:/TouchGFXProjects/MyApplication_26/generated/fonts" -c
"generated/fonts/UnicodeListsimsunb_24_4.txt" -n "simsunb"
-b 4 -d 65279 -e 0 -bf no -ff 0 -ba
Processing
assets/fonts/simsunb.ttf
Font loaded
Number of
glyphs: 47298
Family
name: SimSun-ExtB
Style
name: Regular
make[1]: ***
[texts] Error 1
generated/simulator/gcc/Makefile:219:
recipe for target 'texts' failed
simulator/gcc/Makefile:32:
recipe for target 'assets' failed
make: ***
[assets] Error 2
Failed
Failed
Could you help me to fix it?
2022-08-12 01:46 AM
Hello @Community member ,
Could you update your project to version 4.20.0 and try again please ?
Thank you,
/Yoann