ENH: use wxFont::AddPrivateFont to load fonts for linux

Change-Id: Iefe1753a08fd188a274b4d555c5fcda8fca6d719
This commit is contained in:
lane.wei 2022-11-30 09:04:58 +08:00 committed by Lane.Wei
parent 8f330d8b82
commit 27d2008037
3 changed files with 19 additions and 2 deletions

View file

@ -134,7 +134,7 @@ elseif (MSVC)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
else ()
# Boost on Raspberry-Pi does not link to pthreads explicitely.
target_link_libraries(BambuStudio ${CMAKE_DL_LIBS} -lstdc++ Threads::Threads)
target_link_libraries(BambuStudio ${CMAKE_DL_LIBS} -lstdc++ Threads::Threads pangoft2-1.0)
endif ()
# Add the Slic3r GUI library, libcurl, OpenGL and GLU libraries.