mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 07:58:10 +02:00
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.
This commit is contained in:
parent
d8fd8e222c
commit
8cd615f188
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue