93 views
in GUI Development by
Hi!

I want to display OHM sign in the following font. Its just displaying a square and give a runtime error. How to resolve this?

[4.3.2024  9:39:55] Runtime : EMWI ERROR: code: 180, info1: "Application::Helvetica_Regular36", info2: 937
For details please visit https://doc.embedded-wizard.de/errors

Thank you

1 Answer

0 votes
by

Hello Thanushiyah,

have you ensured to list the corresponding character code in the Ranges attribute of the font resource?

Best regards

Paul Banach

by

Thanks for your response. I've added the following in Ranges attribute of the font resource.


 

0x20-0xFF, 'Ω'

Still its not displaying the OHM character. Could you please advice me on this issue?

by
Other possible reason for the error is that there is no glyph 'ohm' in the font. Have ypu verified it? You can also upload the font for test purpose.
by

Here I've attached the font I'm using. The content does not have OHM in it.

 

by
Hello Thanushiyah,

I'm not sure how to interpret your last comment. Does it mean you solved the problem? Or you wanted to upload a file? In the last case, no file is found in your comment.

Best regards

Paul Banach
by

The issue is not solved. The above is the font resource I'm using.  Do you think it will support the 'OHM' character?

by

Hello,

 Do you think it will support the 'OHM' character?

to answer this question it would be necessary to analyze the content of the font. There are several online-services to do this. For example fontdrop.info. The OHM glyph has the unicode code point U+2126. Please note, besides the OHM sign there is also Greek Omega character with Unicode code point U+03A9.

Best regards

Paul

by
Thank you for your suggestions

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

...