Regression in label-freetype font fallback
The rework of font loading in label-freetype (544e62ac) accidently broke font fallback in cases where /usr/bin/fc-match
is not available.
The new font loading functions assume that popen()
returns
NULL when fc-match
is unavailable or fails. This is incorrect, since
popen()
will always start a shell to run the passed command and return a
stream to that shell's stdin and stdout.
This results in an non-null but empty font name being passed to
FT_New_Face()
, which fails.