Bugfix and style update of RawTherapee.css

Still unfinished - Big thank you to DrSlony for his help
This commit is contained in:
Hombre
2016-10-19 02:20:12 +02:00
parent 0c78885d25
commit 712468197d
14 changed files with 144 additions and 82 deletions

View File

@@ -2085,7 +2085,8 @@ void Preferences::switchFontTo(Glib::ustring newFont)
}
try {
cssForced->load_from_data (Glib::ustring::compose("* { font: %1; }", newFont));
newFont = Options::formatFontName(newFont);
cssForced->load_from_data (Glib::ustring::compose("* { %1 }", newFont));
} catch (Glib::Error &err) {
printf("Error: \"%s\"\n", err.what().c_str());
} catch (...) {