Fixed a few typo (ascend VS ascent, descend VS descent).
[FYI] pavlo.grubyi
#rb patrick.boutot
#test Using a font containing a font face with ascent/descent overridden, enabled or disabled the new option in the font: in font editor preview, UMG editor, and running PIE, the ascend/descent was taken into account or ignored.
[CL 27275774 by yohann dossantos in ue5-main branch]
#jira UE-191009
#test Did repro steps from the associated UDN, and from the UDN associated to the CL that introduced the regression. Both are fixed.
[CL 26571507 by yohann dossantos in ue5-main branch]
The code presently creates two nodes as long as one of them exceeds the minimum dimension, which in practice this has resulted in us eventually having to iterate over 94+ useless elements every time we're adding a glyph. We should only create the smaller node if it exceeds the minimum.
[CL 26415030 by evgenii babinets in ue5-main branch]
Note: This doesn't impact any OS specific dialogs
Breaking: FCoreDelegates::ModalErrorMessage is now called FCoreDelegates::ModalMessageDialog and takes an extra EAppMsgCategory argument
#jira
#rb Dave.Belanger
[CL 26322954 by jamie dale in ue5-main branch]
Removed a reference counting workaround that was added in CL# 3718295 for an issue that was fixed in CL# 3718782.
Removed unnecessary reference count churn from TDecl, and thus every SNew call.
#rb partick.boutot
[CL 26088835 by steve robb in ue5-main branch]
- Converted the font size to float, to allow specifying more precise size, and support the sizes that would be wanted at (for instance) 72 DPI, without losing information (ie rounding to the closest 96DPI int).
- Change various font caches behavior (glyph, advance, kerning...) to match behavior of Freetype, and ensure that a given size in Freetype will be stored only once in the font caches.
- Added cvar commands:
- Slate.DumpFontCacheStats: will display the list of all font combinations used, with the number of glyphs for each combination.
- Slate.FlushFontCache: will clear the font caches as well as the font atlases, then will invalidate all the widgets to force the cache to be refilled.
- Fixed the combo box for font typeface selection not disabled when necessary.
#tests:
- changed the Font display settings between various values and customDPI, validatet that everything was save correctly, and that the display was reacting to the value change.
- tested all the tooltips, simple, extended (ctrl + alt), and dynamic (display of the current DPI setting next to the font size).
- validated that the font atlas/cache was containing not more than one time each glyph rendered by Freetype.
- validated that the edition of the font size was still fully functionnal (spinbox, undo/redo, support of disable state,...).
- tested default value for a new project (72DPI).
- compiled Slate/SlateCore/UMG with UnsafeTypeCastWarningLevel = WarningLevel.Warning to fix warnings related to the change.
- tested in a game with latest changes from BP team (CL 26034633), ensuring that there are no regression related to the change of type (int to float) from the Font size.
- running with it in a game and UE branch for months.
#jira UE-152161
#rb patrick.boutot
[CL 26074522 by yohann dossantos in ue5-main branch]