# HG changeset patch # User Alain Mazy # Date 1575905882 -3600 # Node ID 8154350aa1958e4f263791c4f588170a691aff9a # Parent 355dba5352d7aa2d1ace612a93a3c17c65a5d591# Parent 04fd875b91f400e3e4d71b3333f27ef79908b961 merge diff -r 355dba5352d7 -r 8154350aa195 Applications/Samples/SingleFrameEditorApplication.h --- 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); }