diff --git a/demo/viewer/main.cpp b/demo/viewer/main.cpp index d8f06d25a..fe909830d 100644 --- a/demo/viewer/main.cpp +++ b/demo/viewer/main.cpp @@ -48,7 +48,7 @@ int main( int argc, char **argv ) { settings.setArrayIndex(index); QString font_dir = settings.value("dir").toString(); - freetype_engine::register_fonts(font_dir.toStdString()); + freetype_engine::instance().register_fonts(font_dir.toStdString()); } settings.endArray();