# HG changeset patch # User Sebastien Jodogne # Date 1575740514 -3600 # Node ID 04fd875b91f400e3e4d71b3333f27ef79908b961 # Parent e2435a5240293801c5ed04d67013e47625aad2a0 fix diff -r e2435a524029 -r 04fd875b91f4 Applications/Samples/SingleFrameEditorApplication.h --- a/Applications/Samples/SingleFrameEditorApplication.h Sat Dec 07 17:47:35 2019 +0100 +++ b/Applications/Samples/SingleFrameEditorApplication.h Sat Dec 07 18:41:54 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); }