Mercurial > hg > orthanc-stone
diff Applications/StoneWebViewer/WebAssembly/CMakeLists.txt @ 1593:b782f78aed42
rendering osirix annotations
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 23 Oct 2020 17:39:16 +0200 |
parents | 0d4b11ba86df |
children | fa9e6bf84958 |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebAssembly/CMakeLists.txt Fri Oct 23 15:15:32 2020 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/CMakeLists.txt Fri Oct 23 17:39:16 2020 +0200 @@ -79,6 +79,20 @@ message(FATAL_ERROR "CMAKE_BUILD_TYPE must match either Debug, RelWithDebInfo or Release" ) endif() + +# We embed a font to be used for on-screen overlays +# --------------------------------------------------------------- + +DownloadPackage( + "a24b8136b8f3bb93f166baf97d9328de" + "http://orthanc.osimis.io/ThirdPartyDownloads/ubuntu-font-family-0.83.zip" + "${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83") + +EmbedResources( + UBUNTU_FONT ${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83/Ubuntu-R.ttf + ) + + ################################################################################