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

...