From: Ray Strode Date: Thu, 28 Dec 2023 17:17:10 +0000 (-0500) Subject: label-freetype: Log font loading error X-Git-Tag: 24.004.60~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8cd615f1882f6c4171d78debe772582bf032cd9e;p=thirdparty%2Fplymouth.git label-freetype: Log font loading error Right now if there's an error loading a font we quietly just proceed. This commit adds a debug log message saying what the error is. --- diff --git a/src/plugins/controls/label-freetype/plugin.c b/src/plugins/controls/label-freetype/plugin.c index 02b6f899..17cb134e 100644 --- a/src/plugins/controls/label-freetype/plugin.c +++ b/src/plugins/controls/label-freetype/plugin.c @@ -780,6 +780,8 @@ set_font_for_control (ply_label_plugin_control_t *label, if (error) { FT_Done_Face (label->face); label->face = NULL; + + ply_trace ("Could not load font, error %d", error); return; }