mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 03:55:40 +00:00
(Windows) Added initial text shaping support
This commit is contained in:
parent
73b7f34f50
commit
c1218d5033
|
@ -484,6 +484,7 @@ elseif(WIN32)
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/external/FreeImage/Dist/x64
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/freetype/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/gettext/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/harfbuzz/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/libgit2/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/pugixml/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/SDL2)
|
||||
|
@ -560,6 +561,7 @@ elseif(WIN32)
|
|||
${PROJECT_SOURCE_DIR}/FreeImage.lib
|
||||
${PROJECT_SOURCE_DIR}/git2.lib
|
||||
${PROJECT_SOURCE_DIR}/glew32.lib
|
||||
${PROJECT_SOURCE_DIR}/harfbuzz.lib
|
||||
${PROJECT_SOURCE_DIR}/libcurl-x64.lib
|
||||
${PROJECT_SOURCE_DIR}/libintl-8.lib
|
||||
${PROJECT_SOURCE_DIR}/freetype.lib
|
||||
|
|
|
@ -161,6 +161,7 @@ if(WIN32)
|
|||
../freetype.dll
|
||||
../git2.dll
|
||||
../glew32.dll
|
||||
../harfbuzz.dll
|
||||
../libcrypto-3-x64.dll
|
||||
../libcurl-x64.dll
|
||||
../libiconv-2.dll
|
||||
|
|
|
@ -26,6 +26,26 @@ echo:
|
|||
|
||||
cd external
|
||||
|
||||
echo Building HarfBuzz
|
||||
|
||||
if not exist harfbuzz\build\ (
|
||||
echo harfbuzz directory is missing, aborting.
|
||||
cd ..
|
||||
goto end
|
||||
)
|
||||
|
||||
cd harfbuzz\build
|
||||
if exist CMakeCache.txt (
|
||||
nmake clean
|
||||
del CMakeCache.txt
|
||||
)
|
||||
|
||||
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ..
|
||||
nmake
|
||||
copy /Y harfbuzz.dll ..\..\..\
|
||||
copy /Y harfbuzz.lib ..\..\..\
|
||||
cd ..\..
|
||||
|
||||
echo Building FreeType
|
||||
|
||||
if not exist freetype\build\ (
|
||||
|
|
|
@ -134,6 +134,26 @@ rename glew-2.1.0 glew
|
|||
copy /Y glew\bin\Release\x64\glew32.dll ..
|
||||
copy /Y glew\lib\Release\x64\glew32.lib ..
|
||||
|
||||
echo:
|
||||
echo Setting up HarfBuzz
|
||||
|
||||
if exist harfbuzz\ (
|
||||
rmdir /S /Q harfbuzz
|
||||
)
|
||||
|
||||
git clone https://github.com/harfbuzz/harfbuzz.git
|
||||
|
||||
if not exist harfbuzz\ (
|
||||
echo harfbuzz directory is missing, aborting.
|
||||
cd ..
|
||||
goto end
|
||||
)
|
||||
|
||||
cd harfbuzz
|
||||
git checkout 9.0.0
|
||||
mkdir build
|
||||
cd ..
|
||||
|
||||
echo:
|
||||
echo Setting up FreeType
|
||||
|
||||
|
|
Loading…
Reference in a new issue