268 views
in Platform Packages by

Hi there,

I'm using EW 14.05, with the RGB565 color config on the STM32F769 device.

I have found that for the Calibri font, it does not display correctly if it is configured as a vector, but that it display find if it is configured as a raster image.

Is there a known workaround I can use, as I like the idea of reducing code space.

Rob

 

1 Answer

0 votes
by
Hi Rob,

please let us know the font configuration - or provide us a short example that shows the issue. I just tried it with FontName Calibri, Quality Vector and Height 92 and it seems to work as expected.

I assume this is reproducible in the Prototyper, correct?

Thanks and best regards,

Manfred.
by

Hi Manfred,

I reduced the EW application down to absolute bare bones (static text on screen). I see the issue when I run on the MCU, but it is fine when I run the same using the prototyper. Could it be related to the BSP libraries? I am attaching the zip of the bare bones EW project, with the output.https://ask.embedded-wizard.de/?qa=blob&qa_blobid=5098194284823545979

Could it be an issue within one of the libe files? We are using libewgfx-m7-r90-keil.lib and libewrte-m7-keil.lib

Kind Regards,

Rob

by

Hi Rob,

I just tried it on the STM32F769 Discovery Board with the Font Settings and the String of your example. It works and appears as expected.

Can you reproduce it on the STM32F769 Discovery Board?

Btw: Have you checked for any error messages via console output?

Best regards,

Manfred.

by

Hi Manfred,

I replicated it on the STM32F769I-DISCO board using STM32F769-Discovery-BuildEnvironment-V14.00.00.00

I've attached a photo  https://ask.embedded-wizard.de/?qa=blob&qa_blobid=14589313525906926298

Since, I can replicate it, and since the EW project is now very small, I will create the same from scratch to see if the problem persists:

- If so, then I will zip up the folder to attach

-If it does not persist on the new project, I'll start looking at the defferences between the two

Regards,

Rob

by

Hi Rob,

sounds good, let's do so.

Btw: Have you checked for any error messages via console output?

Best regards,

Manfred.

by

Hi Manfred,

I did now, and it all looks fine: https://ask.embedded-wizard.de/?qa=blob&qa_blobid=10520947538888824840

Regards,

Rob

by

Hi Manfred,

I created a new project in Embedded Wizard 14.05. I simply put a Text resource onto the display, changed the font to "Calibri", size 96, and set the quality to "Vector"
Nothing else special was done.

To replicate the issue on the STM32F769I-DISCO board:
https://ask.embedded-wizard.de/?qa=blob&qa_blobid=7109642056155002665

- Unzip Test.zip into c:\Junk\Test
- The Embedded Wizard project is in C:\Junk\Test\ew_proj\Test
- The Embedded Wizard output is in C:\Junk\Test\Application\GeneratedCode
- The uVision project is in C:\Junk\Test\Application\Project\MDK-ARM\Project.uvprojx

All the libs etc are in this hive, so it's self-contained, and you should be able to replicate the issue.

Kind Regards,
Rob

by
Thanks for the project. I cannot build it with uVision 5.41.

But I can build it with GCC and it looks good on the target.

Can you try it with GCC and is the issue still reproducible?
by
Morning Manfred,

Due to pressure, I'm not really in the position to try GCC right now, but I've spent some time this morning trying to characterise the issue, and have made the following summary:

- The problem occurs when compiling with ARM Compiler v6 / v6.7, but not when using GCC (tested by Manfred).
- The problem occurs on both of our products, and on the STM32F769I-DISCO device
- The problem never occurs in the Embedded Wizard Prototyper.
- The issue appears with font sizes ≥ 53 pt, but not with ≤ 52 pt.
- The issue is reproducible with different font types.
- It occurs on both STM32F469 and STM32F769, each using their respective library files.
- It is present in both RGB565 and RGB888 display modes.

Kind Regards,

Rob
by
Hi Rob,

thanks for sharing your observations. I understand that you cannot spend too much time for extracting the issue.

GCC is very easy: Just start the script StartGccBuildEnvironment.bat that is on top level of your package (as you provided it to me) and type "make install" - thats all.

I will try once more with uVision.

Best regards,

Manfred.
by
Hi Rob,

I tried it once more with uVision - and get some errors. It seems to me that you are using an older version of uVision and that you have done some patches within the Build Environment.

For the moment I cannot reproduce the issue.

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...