3.0k 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 - 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

...