Commit Graph

6528 Commits

Author SHA1 Message Date
buildmachine
a1014380db Documentation for build tools
#rb none

[CL 27867965 by buildmachine in ue5-main branch]
2023-09-14 00:46:08 -04:00
buildmachine
fd705cdaf3 Documentation for build tools
#rb none

[CL 27383409 by buildmachine in ue5-main branch]
2023-08-25 13:44:30 -04:00
buildmachine
b36b4ca34c Documentation for build tools
#rb none

[CL 27367817 by buildmachine in ue5-main branch]
2023-08-25 00:46:15 -04:00
buildmachine
ba1fbfdc55 Documentation for build tools
#rb none

[CL 27332859 by buildmachine in ue5-main branch]
2023-08-24 00:44:42 -04:00
buildmachine
ca6c3db32f Documentation for build tools
#rb none

[CL 27297561 by buildmachine in ue5-main branch]
2023-08-23 00:39:40 -04:00
buildmachine
16e294de83 Documentation for build tools
#rb none

[CL 27229510 by buildmachine in ue5-main branch]
2023-08-19 00:43:47 -04:00
buildmachine
0306eb47e0 Documentation for build tools
#rb none

[CL 27217889 by buildmachine in ue5-main branch]
2023-08-18 15:50:41 -04:00
buildmachine
d58f49e693 Documentation for build tools
#rb none

[CL 27058935 by buildmachine in ue5-main branch]
2023-08-12 00:44:34 -04:00
buildmachine
7a09bd97a1 Documentation for build tools
#rb none

[CL 27022380 by buildmachine in ue5-main branch]
2023-08-11 00:50:41 -04:00
buildmachine
66f40edd61 Documentation for build tools
#rb none

[CL 26867800 by buildmachine in ue5-main branch]
2023-08-05 00:45:43 -04:00
buildmachine
1cab2b2d3e Documentation for build tools
#rb none

[CL 26765381 by buildmachine in ue5-main branch]
2023-08-02 00:49:43 -04:00
yohann dossantos
c9825f6aee Update a version number in the documentation about Font DPI settings.
#rb trivial

[CL 26718317 by yohann dossantos in ue5-main branch]
2023-07-31 15:50:30 -04:00
buildmachine
57d186a58b Documentation for build tools
#rb none

[CL 26694991 by buildmachine in ue5-main branch]
2023-07-29 00:44:21 -04:00
buildmachine
7abebf89db Documentation for build tools
#rb none

[CL 26633524 by buildmachine in ue5-main branch]
2023-07-27 00:40:05 -04:00
buildmachine
ad427ce694 Documentation for build tools
#rb none

[CL 26533059 by buildmachine in ue5-main branch]
2023-07-22 00:45:21 -04:00
buildmachine
e21af816d0 Documentation for build tools
#rb none

[CL 26479724 by buildmachine in ue5-main branch]
2023-07-20 01:10:03 -04:00
buildmachine
aafdeac41a Documentation for build tools
#rb none

[CL 26455029 by buildmachine in ue5-main branch]
2023-07-19 00:42:49 -04:00
buildmachine
b9e69f4972 Documentation for build tools
#rb none

[CL 26362133 by buildmachine in ue5-main branch]
2023-07-01 00:51:09 -04:00
buildmachine
bae5f47232 Documentation for build tools
#rb none

[CL 26306390 by buildmachine in ue5-main branch]
2023-06-29 00:55:07 -04:00
buildmachine
0fc1e657c8 Documentation for build tools
#rb none

[CL 26142209 by buildmachine in ue5-main branch]
2023-06-21 00:55:35 -04:00
buildmachine
0bcdf77212 Documentation for build tools
#rb none

[CL 26114177 by buildmachine in ue5-main branch]
2023-06-20 00:39:59 -04:00
yohann dossantos
8c0370a000 - Added a per project Font display DPI setting, in order to allow using (but not being limited to) the standard 72 DPI used by most creation software (Photoshop, Figma,...). Slate will still work at 96DPI.
- 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]
2023-06-16 18:35:04 -04:00
buildmachine
f12dd035af Documentation for build tools
#rb none

[CL 26003474 by buildmachine in ue5-main branch]
2023-06-15 00:37:32 -04:00
buildmachine
00efdf6097 Documentation for build tools
#rb none

[CL 25910094 by buildmachine in ue5-main branch]
2023-06-10 00:38:28 -04:00
buildmachine
2932bab37a Documentation for build tools
#rb none

[CL 25887940 by buildmachine in ue5-main branch]
2023-06-09 00:43:44 -04:00