Commit Graph

133 Commits

Author SHA1 Message Date
84da819f30 _font fixups
_font fixup

_font visject scaling fix

_font scaling dpi fixes

_font fix wrapping
2024-05-01 18:53:11 +03:00
f29a014aec _line render small opt 2024-05-01 18:53:11 +03:00
a2edead792 _font cache whitespace 2024-05-01 18:53:11 +03:00
479b65fab5 _font getchar opt2 2024-05-01 18:53:11 +03:00
9d1b65730f _font drawtext transform opt 2024-05-01 18:53:10 +03:00
0c8064fb0c _font small opt 2024-05-01 18:53:10 +03:00
49497d1a78 _font array storage 2024-05-01 18:53:10 +03:00
674d5b9709 _font drawcall opt 2024-05-01 18:53:09 +03:00
26ae90a999 _font cached transform 2024-05-01 18:53:09 +03:00
cad96d8131 _font writereserve 2024-05-01 18:53:09 +03:00
df62892725 _font kerning cache 2024-05-01 18:53:09 +03:00
43b2348d62 _font cache v2 2024-05-01 18:53:08 +03:00
54761f40fe _font cache processtext entry 2024-05-01 18:53:08 +03:00
Wojtek Figat
261faad93e Fix incorrect View Size for 2d character font material 2024-04-17 16:41:19 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
db65b8037d Fix crash due to font changes refactor
#2260
2024-02-19 22:14:39 +01:00
Wojtek Figat
5cada42842 Fix missing engine api expose in Font.h
#2245
2024-02-19 17:37:59 +01:00
Wojtek Figat
a2b8312fba Cleanup stuff in #2019 2024-02-18 19:48:43 +01:00
ExMatics HydrogenC
360c75355c Fix build error under non-windows platforms 2023-12-03 16:04:50 +08:00
ExMatics HydrogenC
6ab1663a14 Add missing xml annotations 2023-12-03 15:18:27 +08:00
ExMatics HydrogenC
23b71e7d3e Make font fallbacking the default option 2023-12-03 15:11:47 +08:00
ExMatics HydrogenC
29eb3954c5 Create global settings for font fallback 2023-12-02 17:48:51 +08:00
ExMatics HydrogenC
95f5e31e48 Fix textbox height
Fix build error under non-windows platforms
2023-12-01 19:38:15 +08:00
ExMatics HydrogenC
3d139a241a Fix C# editor 2023-12-01 09:28:29 +08:00
ExMatics HydrogenC
623f478b44 Move fallback rendering to new class 2023-11-30 23:22:11 +08:00
ExMatics HydrogenC
cdbe59a3fb Add fallback settings to CSharp 2023-11-30 23:12:56 +08:00
ExMatics HydrogenC
d3840bb1f3 Refractor C++ code structure 2023-11-30 16:25:32 +08:00
ExMatics HydrogenC
41bbce56f6 Add multifont rendering to editor 2023-11-30 13:41:45 +08:00
ExMatics HydrogenC
a3bc394e4e Fix a bunch of rendering bugs 2023-11-29 15:04:29 +08:00
ExMatics HydrogenC
47a25c7828 Add font fallback
Note: All the `First()` in the code are temperary workarounds to make it work and require refractoring
2023-11-28 07:17:46 +08:00
dc7170c51e Expose Freetype font style flags in FontAsset 2023-11-10 21:32:50 +02:00
Wojtek Figat
c457087612 Optimize memory allocation when using Sprite size during 2D rendering 2023-10-17 22:44:15 +02:00
Wojtek Figat
4fd8697082 Working improvements from docs PR 2023-09-25 11:11:56 +02:00
2190031ccf Support decimal values in Font sizes 2023-06-18 20:52:46 +03:00
Wojtek Figat
3645377b15 Merge remote-tracking branch 'origin/1.6' 2023-06-16 18:43:40 +02:00
fadc5beb1c Fix FontTextureAtlas::GetSlotData not including padding correctly 2023-06-16 15:17:04 +03:00
Wojtek Figat
8f7da81621 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Flax.flaxproj
#	Source/Editor/Content/Items/AssetItem.cs
2023-06-13 15:41:07 +02:00
326b6f000a Expose bitmap data of Font glyphs in FontTextureAtlas 2023-06-12 22:09:27 +03:00
Wojtek Figat
5a45ccf70d Fix text formatting infinite loop
#1127
2023-05-28 16:56:19 +02:00
Wojtek Figat
f3393c46a5 Fix text formatting infinite loop
#1127
2023-05-28 16:55:47 +02:00
Wojtek Figat
694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
Wojtek Figat
b244ffedd2 Fix output log text ranges to handle line ending 2023-05-17 12:23:01 +02:00
Wojtek Figat
d7327d62e2 Fix text words wrapping deadlock
#1093
2023-05-12 14:14:11 +02:00
Wojtek Figat
42c042c249 Fix text words wrapping deadlock
#1093
2023-05-12 13:53:31 +02:00
Wojtek Figat
6d7e23f254 Fix text wrapping regression 2023-04-29 13:05:23 +02:00
Wojtek Figat
b89d32ce2b Fix text wrapping regression 2023-04-29 13:05:06 +02:00
Wojtek Figat
390460907d Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/Scripting/CodeEditors/VisualStudioCodeEditor.cpp
#	Source/Tools/Flax.Build/Deps/Dependencies/OpenAL.cs
2023-04-22 18:59:41 +02:00
Wojtek Figat
9e222d222c Fix dead-lock in characters layout calc regression from e8aa2f922b 2023-04-22 18:00:25 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
Chandler Cox
da85771472 Small fixes 2023-04-14 15:07:06 -05:00