Cannot parse WINDOWSFONTDIR in fonts.conf on Windows
With the master version, there is a bug HERE in the parser of fonts.conf
. When user specifies WINDOWSFONTDIR
(or other pre-defined names) in <dir>
, it fails to return the value.
On line 1377, it stores the path to data
. But the final result retval
is still nullptr
. Looks like we are messing up the logic here. Probably the correct fix is to move line 1387-1394 to the outside of the else scope.