Merge pull request #7265 from Lawrence37/info-font-size

Quick info font size
This commit is contained in:
Lawrence37
2025-02-01 11:44:32 -08:00
committed by GitHub

View File

@@ -155,7 +155,7 @@ void ImageArea::setInfoText (Glib::ustring text)
// update font
fontd.set_weight (Pango::WEIGHT_BOLD);
const int fontSize = 10; // pt
const int fontSize = options.fontSize;
// Non-absolute size is defined in "Pango units" and shall be multiplied by
// Pango::SCALE from "pt":
fontd.set_size (fontSize * Pango::SCALE);