1.1k views
in Embedded Wizard Studio by
How is the font size calculated within Embedded Wizard?

2 Answers

0 votes
by
Especially in design specifications, if the font height is specified, it might be confusing that Embedded Wizard displays a different font height than shown in the specification document, even if you use exactly the specified font size.

Since the used tools for editing and graphics (Word, Photoshop, etc.) are mainly intended for creating printed media, they often consider additional logical units like the dpi (dots per inch) settings. Embedded Wizard however calculates the font size strictly to the pixel height. Therefore you might face a difference between text in screenshots or documents and the displayed text in your UI project. The solution is simple to change the font height in the attribute 'Height' of your font resource until it fits to the expected size.
0 votes
by

The size of a font is defined by the attribute 'Height' within a font resource. There you can define the resulting height of a font in pixel. Please consider, that the height of a font covers the complete 'Ascent' and 'Descent' area (including the space for accent characters), as shown in the following image:

 

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

...