2023-12-06 04:07 AM
Hi,
I decided to update TouchGFX in my project from 4.20 to the newest 4.23. I noticed some artifacts in font rendering from time to time. Below I attached a photo of the issue.
Do you have any ideas why this is happening?
Regards,
Piotr
2023-12-14 01:58 AM
Hello @ypiotrp ,
Could you please specify what text settings and typographies you are using? like are you using Binary fonts or Mapped or Unmapped?
And what board are you using?
Thank you
2024-01-19 05:56 AM
Hello @Mohammad MORADI ESFAHANIASL ,
I'm back to the topic. I upgraded to TouchGFX 4.23.0 mainly for SVG images. I checked if the issue persist on older versions of TouchGFX which still have SVG images. I stopped at 4.21.4 and unfortunately artifacts in the font rendering are still in place.
I cannot share with you my whole project (confidential) but I created some sample screen using ST stock images. Below you can find a video and also my configuration you asked about:
The board is custom. We use parallel RGB LTDC RGB666 to drive the LCD. We also use DMA2D. The configuration of the peripherals:
DMA2D:
LTDC:
TouchGFX:
"text settings and typographies":
I attached the video describing my problem and also source code of the screen.
Thank you for your help,
Piotr
2024-02-01 12:39 AM
2024-02-02 07:09 AM - edited 2024-02-02 07:14 AM
Hello again @ypiotrp ,
Sorry for the delay.
From the pictures you sent everything looks fine (I assume that in the Pixel Format in your Layer Settings in LTDC is set to RGB565). Since the issue is only with fonts (based on your video), I think it might be helpful to change the location of the Fonts and Text in the memory. So, if it is possible, try to put the fonts in internal flash.
Also, could you please send a screenshot of your Text Configuration from Configs (from TouchGFX Designer)?
Forgot to mention that based on the code you sent, you don't need to invalidate everything if no changes has occurred, but I think you have done it to emphasize on the problem.