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
commit fa4d0e1f24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);