You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And more often than not the C code just does not work and I can't display anything.
I am using mono spaced fonts and an ILI9341display.
I have included two font maps I created one work and the other does not. I must have tried everything, it's driving me nuts. Please let me know if there is something I am missing here.
These ar number font maps 44 - 57 assci maing.
Im using ESP32-S3, Arduino IDE 2.3.2, ucglib 1.5.2
Hi
I have been trying to create customs fonts using Fony and bdfconv.exe.
Using Fony I export to a bdf file and convert to c file using bdfconv
bdfconv -v -b 2 -f 0 -m "44 - 57" -n XFX2 -o XFX2.c XFX2.bdf
Ucglib_ILI9341_18x240x320_HWSPI ucg(/cd=/ 46, /cs=/ 10, /reset=/ 45);
And more often than not the C code just does not work and I can't display anything.
I am using mono spaced fonts and an ILI9341display.
I have included two font maps I created one work and the other does not. I must have tried everything, it's driving me nuts. Please let me know if there is something I am missing here.
These ar number font maps 44 - 57 assci maing.
Im using ESP32-S3, Arduino IDE 2.3.2, ucglib 1.5.2
This one works fine.
const ucg_fntpgm_uint8_t XFX8[1055] UCG_FONT_SECTION("XFX8") = {
14,2,5,5,6,6,1,4,7,35,51,0,7,55,0,55,
0,0,0,0,0,4,2,44,18,227,252,199,31,252,255,255,
255,255,255,95,40,124,185,13,0,45,25,227,252,199,31,252,
255,255,27,18,164,156,197,48,102,57,10,74,31,252,255,255,
35,0,46,15,227,252,199,31,252,255,255,255,255,255,255,147,
0,47,77,227,252,199,31,252,255,255,27,196,7,0,225,137,
15,0,226,3,128,240,196,7,0,241,1,64,124,0,16,158,
248,0,32,62,0,8,79,124,0,16,31,0,196,7,0,225,
137,15,0,226,3,128,240,196,7,0,241,1,64,124,0,16,
158,248,0,32,62,0,8,79,124,0,16,31,68,0,48,148,
227,252,199,36,75,219,9,66,118,134,112,9,129,16,161,18,
196,40,194,36,138,97,80,99,24,243,24,198,60,134,49,143,
97,204,99,24,243,24,198,60,134,49,143,97,204,99,24,243,
24,198,60,134,49,143,97,204,99,24,243,24,198,60,134,49,
143,81,84,99,16,183,24,67,38,62,112,134,76,12,226,22,
163,168,198,48,230,49,140,121,12,99,30,195,152,199,48,230,
49,140,121,12,99,30,195,152,199,48,230,49,140,121,12,99,
30,195,152,199,48,230,49,140,121,12,99,30,195,160,198,40,
194,36,138,65,132,74,16,99,8,151,16,74,16,178,180,165,
204,0,49,43,227,252,199,31,220,18,62,16,8,95,116,131,
159,255,95,55,124,241,1,64,124,16,33,124,209,13,126,254,
127,221,240,197,7,0,241,129,32,124,176,7,0,50,60,227,
252,199,36,75,91,202,214,37,132,84,9,34,77,162,232,6,
63,255,63,37,5,35,81,161,64,86,32,14,118,6,97,33,
66,80,169,16,146,50,186,249,255,245,34,76,138,8,85,26,
194,149,130,144,165,45,101,6,0,51,58,227,252,199,35,75,
91,202,214,37,132,84,9,34,77,162,232,6,63,255,63,37,
5,35,81,161,64,86,32,14,198,172,64,36,42,20,74,10,
6,63,255,191,110,164,73,20,168,18,196,185,132,112,178,180,
165,236,0,52,98,227,252,199,31,164,130,15,136,65,11,132,
192,196,40,108,49,12,106,12,99,30,195,152,199,48,230,49,
140,121,12,99,30,195,152,199,48,230,49,140,121,12,99,30,
195,152,199,48,230,49,140,121,12,99,30,195,152,199,48,230,
49,10,33,5,99,16,130,10,197,24,132,21,136,131,49,43,
16,137,10,133,146,130,193,207,255,175,27,190,248,0,32,62,
16,132,15,246,0,53,60,227,252,199,36,75,219,9,66,118,
134,112,33,34,84,169,8,147,50,186,249,255,245,66,72,138,
16,84,26,132,197,48,102,5,34,81,161,80,82,48,248,249,
255,117,35,77,162,64,149,32,206,37,132,147,165,45,101,6,
0,54,109,227,252,199,36,75,219,9,66,118,134,112,33,34,
84,169,8,147,50,186,249,255,245,66,72,138,16,84,26,132,
197,176,51,8,43,16,131,16,84,40,70,33,164,96,12,99,
30,195,152,199,48,230,49,140,121,12,99,30,195,152,199,48,
230,49,140,121,12,99,30,195,152,199,48,230,49,140,121,12,
99,30,195,152,199,48,230,49,12,106,140,34,76,162,24,68,
168,4,49,134,112,9,161,4,33,75,91,202,12,0,55,48,
227,252,199,36,75,91,202,214,37,132,84,9,34,77,162,232,
6,63,255,191,110,248,226,3,128,248,32,66,248,162,27,252,
252,255,186,225,139,15,0,226,3,65,248,96,15,0,56,157,
227,252,199,36,75,219,9,66,118,134,112,9,129,16,161,18,
196,40,194,36,138,97,80,99,24,243,24,198,60,134,49,143,
97,204,99,24,243,24,198,60,134,49,143,97,204,99,24,243,
24,198,60,134,49,143,97,204,99,24,243,24,198,60,134,49,
143,81,8,41,24,131,16,84,40,198,32,172,64,28,236,12,
194,10,196,32,4,21,138,81,8,41,24,195,152,199,48,230,
49,140,121,12,99,30,195,152,199,48,230,49,140,121,12,99,
30,195,152,199,48,230,49,140,121,12,99,30,195,152,199,48,
230,49,140,121,12,131,26,163,8,147,40,6,17,42,65,140,
33,92,66,40,65,200,210,150,50,3,0,57,108,227,252,199,
36,75,219,9,66,118,134,112,9,129,16,161,18,196,40,194,
36,138,97,80,99,24,243,24,198,60,134,49,143,97,204,99,
24,243,24,198,60,134,49,143,97,204,99,24,243,24,198,60,
134,49,143,97,204,99,24,243,24,198,60,134,49,143,81,8,
41,24,131,16,84,40,198,32,172,64,28,140,89,129,72,84,
40,148,20,12,126,254,127,221,72,147,40,80,37,136,115,9,
225,100,105,75,153,1,0,0,0,0,4,255,255,0,0};
This one does not
const ucg_fntpgm_uint8_t XFX2[467] UCG_FONT_SECTION("XFX2") = {
14,2,5,5,5,6,1,7,6,20,32,0,37,68,0,68,
0,0,0,0,0,1,182,44,13,20,92,166,63,248,255,15,
15,113,244,0,45,17,20,92,166,63,248,87,152,227,24,231,
48,31,252,43,0,46,11,20,92,166,63,248,255,63,10,0,
47,11,20,92,166,63,248,255,63,10,0,48,39,20,92,166,
5,36,130,16,5,33,56,161,8,76,56,24,250,199,14,87,
64,2,22,238,96,232,31,59,2,19,138,224,132,33,68,3,
18,0,49,26,20,92,166,63,80,130,41,196,1,146,255,226,
32,69,113,128,228,191,56,72,65,6,23,0,50,41,20,92,
166,5,68,34,226,4,129,48,97,128,228,63,194,132,97,56,
129,8,206,24,2,67,8,72,254,193,33,48,68,8,206,8,
2,68,162,0,0,51,39,20,92,166,3,68,34,226,4,129,
48,97,128,228,63,194,132,97,56,65,24,78,16,8,19,6,
72,254,35,76,24,134,19,4,17,13,104,0,52,35,20,92,
166,105,16,131,32,192,194,29,12,253,99,71,96,66,17,156,
32,12,39,8,132,9,3,36,255,197,65,10,50,168,0,53,
42,20,92,166,5,36,130,16,5,33,56,99,8,12,33,32,
249,7,135,192,16,33,56,198,9,2,97,194,0,201,127,132,
9,195,112,130,32,162,1,9,0,54,45,20,92,166,5,36,
130,16,5,33,56,99,8,12,33,32,249,7,135,192,16,33,
56,67,8,78,40,2,19,14,134,254,177,35,48,161,8,78,
24,66,52,32,1,0,55,29,20,92,166,3,68,34,226,4,
129,48,97,128,228,191,56,72,81,28,32,249,47,14,82,144,
129,5,0,56,45,20,92,166,5,36,130,16,5,33,56,161,
8,76,56,24,250,199,142,192,132,34,56,129,8,78,40,2,
19,14,134,254,177,35,48,161,8,78,24,66,52,32,1,0,
57,43,20,92,166,5,36,130,16,5,33,56,161,8,76,56,
24,250,199,142,192,132,34,56,65,24,78,16,8,19,6,72,
254,35,76,24,134,19,4,17,13,72,0,0,0,0,4,255,
255,0,0};
The text was updated successfully, but these errors were encountered: