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

Support window-independent scaling for text #12705

Conversation

floppyhammer
Copy link
Contributor

Fixes #11375. However, I've got no glue how to handle Text2d because currently TargetCamera is only for UI nodes.

I doubt we need to apply the scale factor to Text2d at all, as an overall scale of 2D/3D elements should be controlled by a camera's zoom only (meanwhile UI elements need to take into account the scale factor).

@ItsDoot ItsDoot added C-Bug An unexpected or incorrect behavior A-UI Graphical user interfaces, styles, layouts, and widgets A-Text Rendering and layout for characters labels Mar 26, 2024
@TotalKrill
Copy link
Contributor

This will probably have to be updated, and revisited since #10193 is about to land

@rparrett
Copy link
Contributor

rparrett commented Oct 10, 2024

Looks like this was addressed in #13697. Can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Text Rendering and layout for characters A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text is cut off in render_ui_to_texture example with high scale factors.
4 participants