mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
Implement SDF fonts. (#24)
* Initial SDF font generation work. * Text now correctly displaying with proper spacing. * Fix untextured draws, implement custom rectangles. * Fix regular image display. * Slightly refactor ImGui rendering. * Implement outlines. * Implement bevel. * Create host device after loading the module if the installer wasn't run. * Move ImGui files to its own folder. * Fix outline sizes. * Fix default ImGui font and font scales. * Update font atlas files.
This commit is contained in:
parent
632cf2619e
commit
cdcacff53b
23 changed files with 536 additions and 154 deletions
6
thirdparty/CMakeLists.txt
vendored
6
thirdparty/CMakeLists.txt
vendored
|
@ -1,4 +1,10 @@
|
|||
set(MSDF_ATLAS_BUILD_STANDALONE OFF)
|
||||
set(MSDF_ATLAS_USE_SKIA OFF)
|
||||
set(MSDF_ATLAS_NO_ARTERY_FONT ON)
|
||||
set(MSDFGEN_DISABLE_PNG ON)
|
||||
|
||||
add_subdirectory(${SWA_THIRDPARTY_ROOT}/PowerRecomp)
|
||||
add_subdirectory(${SWA_THIRDPARTY_ROOT}/ShaderRecomp)
|
||||
add_subdirectory(${SWA_THIRDPARTY_ROOT}/o1heap)
|
||||
add_subdirectory(${SWA_THIRDPARTY_ROOT}/fshasher)
|
||||
add_subdirectory(${SWA_THIRDPARTY_ROOT}/msdf-atlas-gen)
|
||||
|
|
1
thirdparty/msdf-atlas-gen
vendored
Submodule
1
thirdparty/msdf-atlas-gen
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 7e8d34645a67c6e4def5d281f7adec1c2501dc49
|
Loading…
Add table
Add a link
Reference in a new issue