News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Main Menu

Not able to display font degree

Started by kumaichi, August 26, 2025, 02:48:40 PM

Previous topic - Next topic

kumaichi

Hello,

I modified a font, Reglo-Bold, adding a "degree" symbol but I'm unable to actually display it.  For some reason, depending on how I try to display it, it'll show up as a '0'.  I'm confident the symbol is there and in the correct position.  I viewed the images created by EVE Asset Builder v2.10.2 and it's there.

FontFolio Screenshot
You cannot view this attachment.

EVE Asset Builder Preview Last Screenshot
You cannot view this attachment.

EVE Asset Builder Font Index HTML Screenshot
You cannot view this attachment.

I've tried a bunch of different ways to display it:

snprintf(buf, sizeof buf, "%d " "\u00B0" "   F", temperature);
TFT_qspi_cmd_text(75, 120, 31, EVE_OPT_CENTERY, buf);

I'm not really sure what I'm doing wrong or maybe something like this isn't possible?

Any insight would be greatly appreciated.

Kindest regards.


BRT Community

Hello,

Could we check which model of EVE chip you are using with your font?

Also, which EAB conversion settings and which application SetFont2 code were you using to set up your font?

Best Regards, BRT Community

kumaichi

#2
Hello, thank you for your response.

Well don't I feel like an idiot :(.  I tried using the Windows Anton font to make sure it wasn't something with the font I changed and that's when I saw it.  I'm setting the font to, 13 but I then use a system font, 31.

TFT_qspi_dl_cmd(COLOR_RGB(0, 25, 0));
TFT_qspi_cmd_setfont2(13, MEM_FONT_ANTON_34, 0);

char buf[32];
snprintf(buf, sizeof buf, "%.1f Psi", pressure);
TFT_qspi_cmd_text(75, 60, 13, EVE_OPT_CENTERY, buf);

When I set the correct font to use, 13, the whole display crashes.  I'll have to verify that my set font code is correct cause it doesn't seem to be working, ugh.

Apologies for wasting your time.

Kindest regards.

BRT Community Admin

Hello,

No bother at all, thank you for sharing your solution.

Best Regards, BRT Community