1.2k views
in GUI Development by
I'm trying to get the black right pointing traingle U+25B6 using the OpenSans font available via Google. I've included the hex code in the range definition of the font resource. But when I try to use it in a string "\x25B6", it shows up as a box. All the other symbols like trademark U+2122 etc seems to be working well. I'm stumped, please help. Thanks,

1 Answer

0 votes
by

Hi,

if a font does not contain the glyph of the desired character code, the default character is displayed instead - which is typically a small rectangle (the "box").

Please ensure that your font OpenSans contains the character 0x25B6. You can use the Windows tool charmap.exe to inspect the font.

On my PC, the OpenSans does not contain a glyph for 0x25B6...

If you want to use the symbols from another font, you can create a virtual font resource.

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

...