Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menuboard Element: Name text cutoff with Fit to selection and gradient settings #3520

Closed
ifarzana opened this issue Oct 4, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@ifarzana
Copy link

ifarzana commented Oct 4, 2024

In the Menuboard product/categories, a change in the appearance of the name element causes text cutoff in the Name field.

Steps to reproduce:

  • Apply both Fit to selection and Use gradient for the text? to the name element.
  • Notice that the text in the Name field gets cut off.

Expected behaviour:
The name text should display correctly without being cut off when both are applied.

image

@ifarzana ifarzana added the bug label Oct 4, 2024
@maurofmferrao maurofmferrao self-assigned this Oct 14, 2024
@maurofmferrao
Copy link
Member

Related to gradient in #3522 , might be fixed by fixing that issue.

@maurofmferrao maurofmferrao added this to the 4.1.2 milestone Oct 14, 2024
@maurofmferrao
Copy link
Member

The way that we use to render gradients uses a background mask with the text as mask that then renders just the text with gradient.

That means the text shows on the overflow if the text passes the area.

Image

But unfortunately for fonts that span outside the font space itself, it cuts them.

Image

maurofmferrao added a commit to xibosignage/xibo-cms that referenced this issue Oct 17, 2024
maurofmferrao added a commit to xibosignage/xibo-cms that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants