Mercurial > hg > orthanc-stone
changeset 1231:8154350aa195
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 09 Dec 2019 16:38:02 +0100 |
parents | 355dba5352d7 (current diff) 04fd875b91f4 (diff) |
children | e99e09143c64 c14fde4a595c |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameEditorApplication.h Mon Dec 09 16:37:39 2019 +0100 +++ b/Applications/Samples/SingleFrameEditorApplication.h Mon Dec 09 16:38:02 2019 +0100 @@ -516,8 +516,8 @@ } { - RadiographyTextLayer::SetFont(Orthanc::EmbeddedResources::UBUNTU_FONT); - RadiographyLayer& layer = scene_->LoadText("Hello\nworld", 20, 128, NULL); + RadiographyTextLayer::RegisterFont("ubuntu", Orthanc::EmbeddedResources::UBUNTU_FONT); + RadiographyLayer& layer = scene_->LoadText("Hello\nworld", "ubuntu", 20, 128, NULL, false); layer.SetResizeable(true); }