526 views
in Embedded Wizard Studio by
Hello,

We are using Embedded Wizard Pro version 11.00 with RGB565 platform package. As per our understanding, Embedded Wizard generates bitmaps out of font files using Bitmap font engine.

We have 3 different font files for the same font family which contains Bold, Italic & Regular versions. Instead of using those 3 different fonts, is there any benefit in memory footprint if we use one font with different attributes: Bold, Italic & Regular?

Based on our understanding are there different bitmaps generated for different styles or the same bitmaps are converted at runtime? Can you please clarify how the memory calculation is done internally based on font usage.

Background of this question: Our customer already has a lot of different fonts and we want to check what is the best suitable way to bring it in target and also to not exceed our RAM/ROM with these.

 

Thank you,

Kavya

1 Answer

0 votes
by

Hello Kavya,

We have 3 different font files for the same font family which contains Bold, Italic & Regular versions. Instead of using those 3 different fonts, is there any benefit in memory footprint if we use one font with different attributes: Bold, Italic & Regular? 

There is no benefit. The resulting code will contain three different fonts (bold, italic and regular).

Based on our understanding are there different bitmaps generated for different styles or the same bitmaps are converted at runtime? Can you please clarify how the memory calculation is done internally based on font usage.

The font conversion and the rasterizing of glyphs (as bitmaps) is performed at the code generation time. If you have three different font resources in your project, consequently three sets of glyphs (=bitmaps) are generated.

Background of this question: Our customer already has a lot of different fonts and we want to check what is the best suitable way to bring it in target and also to not exceed our RAM/ROM with these.

Per default Embedded Wizard converts the fonts (rasterizes the glyphs) at the code generation time. This is useful for the low-end target systems. Powerful targets can use a TrueType engine. In such case the font conversion is performed at the runtime just in the moment when a glyph is required. The usage of TrueType engine expects a dedicated version of Platform Package. See also Project members: Font resource.

Best regards

Paul Banach

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

...