Skip to main content
MB.1
Associate II
April 29, 2021
Question

TouchGFX Designer - Changing Ellipsis character in Designer doesn't produce any effect

  • April 29, 2021
  • 4 replies
  • 1932 views

Hi there,

as stated in the subject, it looks like the "Table_" fonts files are not updated when the ellispsis charaters are changed in the designer typographies tab. As a result the structures "static touchgfx::GeneratedFont" are not inited with the proper ellipsis characters.

Is this a bug or I'm missing something?

I'm using Designer v4.16.1

Regards

This topic has been closed for replies.

4 replies

Romain DIELEMAN
ST Employee
April 29, 2021

Hi,

Could you share a demo or screenshots facing this issue ? Or give more info so that I can try to replicate it.

/Romain

MB.1
MB.1Author
Associate II
April 29, 2021

Hi Romain,

I changed the "Ellipsis Character" from '.' to '?' and generated the code (note that there is no "blue point" beside the "Generate Code" button)

0693W00000AMtJbQAL.png 

In spite of that, the generated font is still inited with the '.' as the ellipsis character. As you can see in the screenshot below, the twelfth parameter of the

static touchgfx::GeneratedFont Roboto_Bold_18_4bpp

is still equal to 46 == 0x2E == '.'

0693W00000AMtJlQAL.png 

Romain DIELEMAN
ST Employee
April 29, 2021

Thank you for reporting this :thumbs_up: I will investigate a bit and forward it to the team.

/Romain

MB.1
MB.1Author
Associate II
April 29, 2021

You're welcome Romain.

I know it's not properly relevant to the subject but i want to seize the opportunity and clarify the behaviour of the ellipsis in the Wide Text Actions.

From the documentation:

- WIDE_TEXT_WORDWRAP: Wrap between words, ellipsis anywhere "Very long t...".

- WIDE_TEXT_WORDWRAP_ELLIPSIS_AFTER_SPACE: Wrap between words, ellipsis anywhere only after space "Very long ...".

- WIDE_TEXT_CHARWRAP_DOUBLE_ELLIPSIS:Wrap between any two characters, double ellipsis anywhere, as used in Chinese.

Nevertheless, what I get is:

- WIDE_TEXT_WORDWRAP -> "Very long t."

- WIDE_TEXT_WORDWRAP_ELLIPSIS_AFTER_SPACE -> "Very long ."

- WIDE_TEXT_CHARWRAP_DOUBLE_ELLIPSIS -> "Very long t.."

It seems that the text is truncated and just one instance of the ellipsis character is placed (two instances in case of WIDE_TEXT_CHARWRAP_DOUBLE_ELLIPSIS).

From my understanding the ellipsis should be a sequence made of three instances of the ellipsis character, am I misunderstanding something or is the implemented behaviour odd?

MB.1
MB.1Author
Associate II
May 13, 2021

@Romain DIELEMAN​  any consideration in relation to this last topic?

ypiotrp
Associate III
September 19, 2022

Hi!

I don't know if the ellipsis character should be repeated three times as @MB.1​ says above, but I found the solution :)

Just use the ellipsis character "…" instead of ".". Works for me :)