856 views
in GUI Development by

Hello,

 

I got some Issue using Attributed Text (grey). There is a different behavior then the "standard" Text View (white). It Seems the problem just exists with the usage of True Type Font Engine. We are using EW9.30.

True Type Font Engine (Open GL)Windows

Both Views have the same Font with a height of 120. In both cases the Alignment is Horizontal and Vertical Center. It seems that the Attribute Text height is much higher then the specified 120 and for this reason the text does not fit in the widget. There is no Padding and Scroll Effect defined. A known issue is, that the difference of the Font Resources of OpenGL and Windows causes a difference in the actual text size.

Is this a bug or is there any reason for this behaviour? How can I get the "real" height of the Attributed Text to fit in the widget? 

 

Best Wishes Jonas

1 Answer

0 votes
by
Hello Jonas,

I tried to reproduce the issue, but without success. Which font are you using? Or better, can you provide a small project (inkl. the TTF/OTF file) demonstrating the problem?

Best regards

Paul Banach
by
Hello Paul,

we are using a non common font. Maybe there is some issue with the resource. Actually other fonts are looking well.

I send you the resource via mail.

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

...