Mercurial > hg > orthanc-stone
changeset 598:a806abb497b8
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 Apr 2019 17:57:57 +0200 |
parents | 9e51fb773bbd |
children | 6da17230c7a3 |
files | Framework/Scene2D/CairoCompositor.cpp Framework/Scene2D/OpenGLCompositor.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Scene2D/CairoCompositor.cpp Fri Apr 26 17:28:18 2019 +0200 +++ b/Framework/Scene2D/CairoCompositor.cpp Fri Apr 26 17:57:57 2019 +0200 @@ -136,7 +136,7 @@ Orthanc::Encoding codepage) { FontRenderer renderer; - renderer.LoadFont(font, fontSize); + renderer.LoadFont(resource, fontSize); std::auto_ptr<GlyphBitmapAlphabet> alphabet(new GlyphBitmapAlphabet); alphabet->LoadCodepage(renderer, codepage);
--- a/Framework/Scene2D/OpenGLCompositor.cpp Fri Apr 26 17:28:18 2019 +0200 +++ b/Framework/Scene2D/OpenGLCompositor.cpp Fri Apr 26 17:57:57 2019 +0200 @@ -194,7 +194,7 @@ Orthanc::Encoding codepage) { FontRenderer renderer; - renderer.LoadFont(font, fontSize); + renderer.LoadFont(resource, fontSize); GlyphBitmapAlphabet dict; dict.LoadCodepage(renderer, codepage);