Own font usage questions

Hi @mhepp!

I never tried adding a new font format, I only used lvgl fonts created with LittlevGL font converter.

Any reason you don’t want to use lvgl font system? They put a lot of work in it, it supports advanced features such as compression, kerning etc. and you can convert any TTF font to lvgl font using the font converter tool.

Regarding your crash, I suggest you try to debugging it. The backtrace you got is a good starting point:

Backtrace: 0x400e0dfb:0x3ffdb400 0x400e2da5:0x3ffdb430 0x40135db0:0x3ffdb450 0x402151d1:0x3ffdb480 0x4010774e:0x3ffdb4a0 0x4010a462:0x3ffdb4d0 0x4010a656:0x3ffdb550 0x4011b8a1:0x3ffdb580 0x4011bdd1:0x3ffdb5e0 0x400ff908:0x3ffdb600 0x400ff9ab:0x3ffdb620 0x40137695:0x3ffdb640 0x4013770d:0x3ffdb660 0x401356ca:0x3ffdb680 0x400df855:0x3ffdb6a0 0x400df8d9:0x3ffdb6c0 0x400ed9c1:0x3ffdb6e0 0x400e3c3c:0x3ffdb780 0x400df855:0x3ffdb7f0 0x400df882:0x3ffdb810 0x4014f4c4:0x3ffdb830 0x4014f744:0x3ffdb8d0 0x400f6a84:0x3ffdb910 0x400953bd:0x3ffdb940

What you need to do is:

  • Make sure you build your project in DEBUG mode, with debug symbols
  • Parse this line with addr2line