Mercurial > hg > orthanc
diff Core/Images/FontRegistry.cpp @ 2379:4900688827a8
reorganization in CMake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 28 Aug 2017 18:07:03 +0200 |
parents | a3a65de1840f |
children | 5edec967055e |
line wrap: on
line diff
--- a/Core/Images/FontRegistry.cpp Mon Aug 28 15:02:27 2017 +0200 +++ b/Core/Images/FontRegistry.cpp Mon Aug 28 18:07:03 2017 +0200 @@ -65,12 +65,14 @@ } +#if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 void FontRegistry::AddFromResource(EmbeddedResources::FileResourceId resource) { std::string content; EmbeddedResources::GetFileResource(content, resource); AddFromMemory(content); } +#endif const Font& FontRegistry::GetFont(size_t i) const