1.1k views
in GUI Development by

Hello,

We use a font called FontAwesome in many of our applications in order to treat many of our icons as characters rather than images.  I have the .ttf file installed on my developement computer, but when I attempt to use it in Embedded Wizard all that shows up are empty squares.  Is there anything I can do to make this font work properly?

 

Thanks!

1 Answer

0 votes
by
 
Best answer

Hi,

I suppose, the problem is related to the font resource attribute Ranges. You have to specify explicitly the character codes to import from the font otherwise the default character (usually the box) is displayed. See also the section Specify the text.

Best regards

Paul

by

Thanks so much Paul.  That led me in the right direction.  Here are two screenshots of how it worked exactly in case anyone else needs it :

Here is the Resource file where I added the FontAwesome Font Resource :

 

Here is a View::Text which implements the font with its String value :

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

...