1k views
in GUI Development by

Hi,

I am looking to subscript the "2" in H2O. I have looked at another question regarding super/sub scripts: https://ask.embedded-wizard.de/2412/is-there-a-possibility-to-superscript-subscript-a-letter?show=2412#q2412, referred to the Unicode link and it looks like the text would be "H\x2082O". This is not displaying correctly. It is showing H with a box for the subscript 2 and then O. The font is Arial, 25 pixel which (I believe) supports subscripts and in the Range attribute for the font it was originally: 0x20-0xFF and I added ", 0x2082" just to be sure. Still no luck. Any suggestions?

 

1 Answer

0 votes
by

Hello,

I have tested this shortly. It seems that ARIAL does not contain the glyph for character code 0x2082. Using another font (e.g. Segoe UI) produces the results as expected:

Best regards

Paul Banach

by
Great! Thank you!

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

...