Bonus: added the ability to scale the fonts in the preview from the font editor, for clearer preview.
#jira UE-184155 Expose Ascent/Descent overides
#rb vincent.gauthier
#tests Using the font provided in the jira and the new settable values, ensured that I was able to get result similar to a 'standard' font, on single line text, multi line text, rich text combining the problematic font and another one, as well as using a composite font mixing the fonts. Tested with different size. Validated that modifying the new font settings was refreshing the font displayed. Replaced in a game project the font "burbank" by the new font and got it properly vertically aligned using new settings.
#preflight 647a377ed4596f242c113c75
[CL 25790038 by yohann dossantos in ue5-main branch]
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps (Also preps for slate payload removal).
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.
#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455
[CL 25738553 by daren cheng in ue5-main branch]
[FYI] daren.cheng
Original CL Desc
-----------------------------------------------------------------
Re-submit 25712585 with manual tuple expansion to prevent use before define.
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.
#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455
[CL 25720199 by daren cheng in ue5-main branch]
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.
#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455
[CL 25717402 by daren cheng in ue5-main branch]
[FYI] daren.cheng
Original CL Desc
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.
#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455
[CL 25716613 by daren cheng in ue5-main branch]
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.
#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455
[CL 25712708 by daren cheng in ue5-main branch]
#preflight 647773ab0d55081f5494ab67
#jira none
--------------------------------------------------
Add ability to add a widget inside the global window overlay
#rb Patrick.Boutot
#ushell-cherrypick of 25473883 by kristof.morva1
----------------------------------------------
Fix ensure when hiding mouse capture label after exiting PIE
#rb Vincent.Gauthier
#ushell-cherrypick of 25507685 by kristof.morva1
[CL 25709904 by ben hoffman in ue5-main branch]
[FYI] yohann.dossantos
Original CL Desc
-----------------------------------------------------------------
Fix incorrectly displayed text. In Slate, wrapping text needs 2 draws to be displayed properly, otherwise some incorrect value are used. In the case of this bug, the text was offseted with a value based on the text width without wrapping (as if it was single line) instead of the correct width with wrapping applied. An invalidation of the widget was called, but as the invalidation was not supported in this code path (WidgetComponent + WidgetRendere::DrawWindow), it was ignored.
Now the WidgetRenderer::DrawWindow support Invalidation Root, and the WidgetComponent enabled the Invalidation on the VirtualWindow it uses, and do only the necessary amount of Tick.
#jira UE-FORT-594200
#rb patrick.boutot
#tests Repro steps from the jira, no longer occurs. Tested that hit testing was still working properly by using a widget with buttons in the widgetcomponent. Tested with and without the new setting bIsInvalidationEnabled activated.
#preflight 646664b7a133ca477bc93c69
[CL 25545951 by yohann dossantos in ue5-main branch]
Now the WidgetRenderer::DrawWindow support Invalidation Root, and the WidgetComponent enabled the Invalidation on the VirtualWindow it uses, and do only the necessary amount of Tick.
#jira UE-FORT-594200
#rb patrick.boutot
#tests Repro steps from the jira, no longer occurs. Tested that hit testing was still working properly by using a widget with buttons in the widgetcomponent. Tested with and without the new setting bIsInvalidationEnabled activated.
#preflight 646664b7a133ca477bc93c69
[CL 25534756 by yohann dossantos in ue5-main branch]
#fyi ben.hoffman
Original CL Desc
#preflight 6463ada2c34c2e12121ddf21
-----------------------------------------------------------------
Add ability to add a widget inside the global window overlay
#rb Patrick.Boutot
#preflight 6462499bcf788a255834719a
#ushell-cherrypick of 25473883 by kristof.morva1
[CL 25495316 by ben hoffman in ue5-main branch]
#rb Patrick.Boutot
#preflight 6462499bcf788a255834719a
#ushell-cherrypick of 25473883 by kristof.morva1
[CL 25475099 by ben hoffman in ue5-main branch]
- ellipsis appearing on multiple lines on multline text, and for each block in each line for multiline + rich text or bidirectionnal text, instead of having a single ellipsis by text.
- ellipsis not always shown on text with multiple runs (like rich text or bidirectionnal text). Ellipsis could be misplaced. It was more likely to happen on left_to_right text.
- ellipsis not shown (or show the wrong side) for multiline right justified text, or right to left text that was left justified.
When using texts with multiples blocks, it's possible to have the ellipsis partially clipped, but it would require deeper changes in the text system to fix this issue.
Tests:
-New test scene in EngineTest to cover all fixed bugs, and much more ellipsis usage.
-Validated in Unreal Ed that all tested editors where working as expected.
#jira UE-176972
#rb patrick.boutot
#preflight 645e54acb71b8186aad87e7b
[CL 25450388 by yohann dossantos in ue5-main branch]
#fyi bryan.sefcik
Original CL Desc
-----------------------------------------------------------------
Fixed an issue where the public dependencies weren't being added to the include path list.
#rb joe.kirchoff
#preflight 645d0d91592448f08b9ce111
[CL 25432128 by bryan sefcik in ue5-main branch]