Removes debug printf

This commit is contained in:
Pandagrapher 2023-08-23 13:48:39 +02:00
parent bf988ad274
commit ce5f77ffc2
2 changed files with 0 additions and 7 deletions

View File

@ -97,8 +97,6 @@ Preferences::Preferences(RTWindow *rtwindow)
#endif
initialFontSize = defaultFontDesc.get_size() / Pango::SCALE; // Font size is managed in ()"pt" * Pango::SCALE) by Pango (also refer to notes in rtscalable.h)
printf("initialFont: %s %d\n", initialFontFamily.c_str(), initialFontSize);
Gtk::Box* mainBox = get_content_area();
//GTK318
#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 20
@ -2459,7 +2457,6 @@ void Preferences::fontChanged()
{
newFont = true;
Pango::FontDescription fd (mainFontFB->get_font_name());
printf("test: %s\n", mainFontFB->get_font_name().c_str());
switchFontTo(fd.get_family(), fd.get_size() / Pango::SCALE);
}
@ -2489,8 +2486,6 @@ void Preferences::switchFontTo(const Glib::ustring &newFontFamily, const int new
} catch (...) {
printf("Error: Can't load the desired font correctly\n");
}
printf("switchFontTo: %s\n", css.c_str());
}
void Preferences::workflowUpdate()

View File

@ -166,8 +166,6 @@ RTWindow::RTWindow ()
defaultFontSize);
}
printf("test : %s\n", css.c_str());
// Load custom CSS for font
if (!css.empty()) {
if (rtengine::settings->verbose) {