remove directwrite in favor of gdi
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-07-19 14:16:14 -07:00
commit 1fe59521bf
17 changed files with 21 additions and 24311 deletions

View file

@ -39,19 +39,6 @@ else()
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
if(${CMAKE_CROSSCOMPILING})
message(STATUS "DirectWrite support has been enabled")
option(MW_USE_DIRECTWRITE "Use DirectWrite" ON)
else()
# DirectWrite stuff can only be used on Win10+
if(${CMAKE_SYSTEM_VERSION} GREATER_EQUAL 10)
message(STATUS "DirectWrite support has been enabled")
option(MW_USE_DIRECTWRITE "Use DirectWrite" ON)
else()
message(WARNING "DirectWrite support has been disabled (must be compiling on Win10+)")
option(MW_USE_DIRECTWRITE "Use DirectWrite" OFF)
endif()
endif()
option(MW_USE_GDI_TEXT "Use GDI for text rendering" ON)
endif()
@ -164,13 +151,6 @@ if(MW_USE_FREETYPE2)
endif()
endif()
if(MW_USE_DIRECTWRITE)
target_compile_definitions(
Mw
PRIVATE
USE_DIRECTWRITE
)
endif()
if(MW_USE_GDI_TEXT)
target_compile_definitions(