147 views
in GUI Development by

Hi,

I'm having problems rendering a particular Cyrillic character while included in the range.

The problem is visible also while still on the Window Embedded Wizard window, not only while running in the target platform.

My platform is Linux.OpenGL.RGBA8888

The font is Noto Sans 26

My Range include this character 1049 / 0x0419 as I have 0x0400 - 0x04FF

The problem is in both Embedded Wizard 11.00 and 14 even though the missing character is rendered differently.

[27.6.2025  9:51:18] Runtime : EMWI ERROR: code: 180, info1: "Fonts::NotoSansReg26", info2: 1049
For details please visit https://doc.embedded-wizard.de/errors

The same renders fine in Microsoft Word with Noto Sans 26 selected (e.g. Нью-Йорк)

Is it a known issue with this font or is there a way to fix this / a workaround?

UPDATE: I have 2 fonts one NotoSansBold26 and one NotoSansReg26. If I use NotoSansBold26 and set Bold to false so that the two are in fact identical, selecting NotoSansBold26 works but NotoSansReg26 doesn't. May be some cache somewhere I have to clean?

UPDATE 2: Similarly if I use NotoSansReg26 and change Bold to true, that doesn't render the character correctly while the settings are now identical to original NotoSansBold26.

3 Answers

0 votes
by
 
Best answer
Turns out that the colleague working before me on this project created a variant of all the fonts for purpose of Web target. This variant has different font ranges.

He set the rule for the variant for all the fonts, except for one, NotoSansReg26.

Apologies for the noise, after copying and pasting the same variant condition to NotoSansReg26 the problem went away.
by
Thanks for sharing the solution!
0 votes
by
Hello,

I suppose, the used font does not contain the specified character. Unfortunately, on my Windows I don't have any of the Noto Sans fonts installed and I'm not able to test it. If the font is free available, you can provide me a download link to exact the version you are actually using.

Other questions:

1. Is there any other warning reported when using Embedded Wizard?

2. Do you observe the same behavior when running the application in Prototyper?

Best regards

Paul Banach
by
Hi Paul thanks for your answer, doing testing I noticed the following:

1) I have 2 fonts one NotoSansBold26 and one NotoSansReg26. If I use NotoSansBold26 and set Bold to false so that the two are in fact identical, selecting NotoSansBold26 works but NotoSansReg26 doesn't. May be some cache somewhere I have to clean?

2) Similarly if I use NotoSansReg26 and change Bold to true, that doesn't render the character correctly while the settings are now identical to original NotoSansBold26.

So it is not a problem with the font itself but some cache somewhere?

Noto Sans however can be downloaded from https://fonts.google.com/noto/specimen/Noto+Sans

Sorry forgot 3) yes I see the same in the prototyper and no additional warnings
+1 vote
by

Hello,

based on the reported symptoms, it seems to me a font file problem with your NotoSansReg26 font:

  • Error 180 means the glyph metrics cannot be retrieved from the Windows font itself
  • NotoSansBold26 works fine for the same character
  • The character displays correctly in Word (which uses different font engines with fallback mechanisms)

What you can do:

You can try to use a fresh, complete Noto Sans Regular font - maybe you do not have the latest version.

Since NotoSansBold26 works correctly:

  • Use NotoSansBold26 with Bold set to false
  • This gives you the same visual result without the error

Alternatively, you can switch the font engine that is used for your project from Windows to FreeType. See FontConversion.

Best regards,

Manfred.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...