BRT Community

General Category => Discussion - EVE => Topic started by: kumaichi on August 26, 2025, 02:48:40 PM

Title: Not able to display font degree
Post by: kumaichi on August 26, 2025, 02:48:40 PM
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
FontFolio Screenshot.png

EVE Asset Builder Preview Last Screenshot
eve_preview_last.png

EVE Asset Builder Font Index HTML Screenshot
eve_index_html.png

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.

Title: Re: Not able to display font degree
Post by: BRT Community on August 27, 2025, 03:16:35 PM
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
Title: Re: Not able to display font degree
Post by: kumaichi on August 27, 2025, 04:48:05 PM
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.
Title: Re: Not able to display font degree
Post by: BRT Community Admin on August 28, 2025, 10:17:34 AM
Hello,

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

Best Regards, BRT Community