You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you have two monitors with different native scales, then immediate viewports will cause the text to look messed up for the parent viewport:
I'm not sure why this is not a problem for deferred viewports; it's likely some state that is not properly restored when switching to/from an immediate viewport child.
The solution requires having one Fonts per specific pixels_per_point in Context.
We also need to do book-keeping of changes to the font atlas texture in a new, better way.
We really should use different font ids for the textures for the different pixels_per_point, but that will require a pretty deep change.
The text was updated successfully, but these errors were encountered:
emilk
changed the title
Text buggy with immediate viewports across monitors with different scales
Text and textures buggy with immediate viewports across monitors with different scales
Nov 30, 2023
emilk
changed the title
Text and textures buggy with immediate viewports across monitors with different scales
Text buggy with immediate viewports across monitors with different scales
Nov 30, 2023
if you have two monitors with different native scales, then immediate viewports will cause the text to look messed up for the parent viewport:
I'm not sure why this is not a problem for deferred viewports; it's likely some state that is not properly restored when switching to/from an immediate viewport child.
The solution requires having one
Fonts
per specificpixels_per_point
in Context.We also need to do book-keeping of changes to the font atlas texture in a new, better way.
We really should use different font ids for the textures for the different
pixels_per_point
, but that will require a pretty deep change.The text was updated successfully, but these errors were encountered: