mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 05:38:14 +02:00
Merge branch 'fix-freetype-fallback' into 'main'
label-freetype: fix fallback not working when fc-match isn't available Closes #239 See merge request plymouth/plymouth!302
This commit is contained in:
commit
07662e5488
1 changed files with 6 additions and 0 deletions
|
|
@ -135,6 +135,9 @@ find_default_font_path (void)
|
|||
|
||||
pclose (fp);
|
||||
|
||||
if (strcmp (fc_match_out, "") == 0)
|
||||
return FONT_FALLBACK;
|
||||
|
||||
return fc_match_out;
|
||||
}
|
||||
|
||||
|
|
@ -152,6 +155,9 @@ find_default_monospace_font_path (void)
|
|||
|
||||
pclose (fp);
|
||||
|
||||
if (strcmp (fc_match_out, "") == 0)
|
||||
return FONT_FALLBACK;
|
||||
|
||||
return fc_match_out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue