Hello,
I am new to working with an BT815 and consitently experience display artifacts when trying to display text in a custom font in a specific way. The font works properly as long as I only use a single font. As soon as multiple fonts are overlapping it starts flickering and displaying the artifacts.
I load the fonts from flash(glyphs in flash, xfont in ram_g) and set them with the EVE_CMD_SETFONT2 command.
All of the fonts are ~800KB in total right now(might be even more in the future), but still working on and finding new ways to make this less.
Since the code I use in the actual application is quite complex, I produced a minimal version of this, where this issue is still coming up:
EVE_LIB_BeginCoProList();
EVE_CMD_DLSTART();
EVE_CLEAR_COLOR_RGB(0, 0, 0);
EVE_CLEAR(1, 1, 1);
EVE_VERTEX_FORMAT(0);
EVE_CMD_TEXT(0, 0, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_CMD_TEXT(0, 0, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_CMD_TEXT(0, 0, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_CMD_TEXT(0, 0, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_DISPLAY();
EVE_CMD_SWAP();
EVE_LIB_EndCoProList();
EVE_LIB_AwaitCoProEmpty();
But this is working
EVE_LIB_BeginCoProList();
EVE_CMD_DLSTART();
EVE_CLEAR_COLOR_RGB(0, 0, 0);
EVE_CLEAR(1, 1, 1);
EVE_VERTEX_FORMAT(0);
EVE_CMD_TEXT(0, 0, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_CMD_TEXT(0, 100, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_CMD_TEXT(0, 200, NUNITO_SANS_32, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_CMD_TEXT(0, 300, NUNITO_SANS_24, 0, "Lorem ipsum dolor sit amet\n consectetur adipiscing elit. \nCras et lorem eget eros lacinia placerat.");
EVE_DISPLAY();
EVE_CMD_SWAP();
EVE_LIB_EndCoProList();
EVE_LIB_AwaitCoProEmpty();
I found a Problem in the forum, which sounds like the problem I have, so the bandwidth could be the issue here(but the font loaded in that topic is way bigger, only a single font and the topic seemed stale - with a warning to post there):
http://www.brtcommunity.com/index.php?topic=298.0The solutions over there did not work for me or are not feasible, more details to me trying out the solutions:
- turning on adaptive frame rate did not do anything, the display does not support it
- adaptive HSync is sadly not available on BT815
- loading the font from RAM_G -> I would like to avoid it, because I need to load a couple of fonts, which will use up too much space, because I also need a broad spectrum of characters for different languages and there are already icons in RAM_G to avoid this problem when loading icons/image.
- flash IC is already in FULL state
- switching to BT817 is not possible right now, too many devices to replace
I am very thankfull for ideas on how to handle this issue and maybe someone can verify this problem for me, just in case I was not smart enough to load the font properly or the issue lies somwhere else entirely.
Im still hoping I dont have to work around the issue, but we will see.
Best
Elmryn