368 views
in GUI Development by

Hello,

        We're using OpenSans font from Google in our project. Is there anyway to use variations of the fonts as listed below. I can do a bold, but we have requirements to show semi-bold and extra-bold.

  1. Light
  2. Light Italic
  3. Regular
  4. Regular Italic
  5. Semi-Bold
  6. Semi-Bold Italic
  7. Bold
  8. Bold Italic
  9. Extra-Bold
  10. Extra-Bold Italic

Thanks!

1 Answer

+1 vote
by
 
Best answer

Hi,

it should work when you specify the complete name of the font in the attribute FontName. For example, to get the 'light' version of the font Roboto, specify Roboto Light in the attribute as shown in the screenshot below:

Please note, sometimes the font variant names are localized. The bold version of Arial, for example, is named in German Arial Fett. In such case, using Arial Fett as name results in the same as enabling the attribute Bold for the font Aria.

Best regards

Paul Banach

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

...