Added variables to build SDL2_ttf with HarfBuzz and added functions to

the engine to support defining the text direction and script name
This commit is contained in:
abdelrahman committed 2023-01-31 23:51:43 +00:00
1 parent e04effec37
commit 79944cfa13
3 files changed
+37

No files matched your search

+2
View File
@@ -6,6 +6,8 @@ set(SDL2_DISABLE_UNINSTALL OFF CACHE BOOL "" FORCE)
set(SDL2IMAGE_VENDORED ON CACHE BOOL "" FORCE)
set(SDL2MIXER_VENDORED ON CACHE BOOL "" FORCE)
set(SDL2TTF_VENDORED ON CACHE BOOL "" FORCE)
set(SDL2TTF_HARFBUZZ ON CACHE BOOL "" FORCE)
set(TTF_USE_HARFBUZZ ON CACHE BOOL "" FORCE)
set(SDL2IMAGE_TIF ON CACHE BOOL "" FORCE)
add_subdirectory(SDL)