Before a NULL config was passed down adn essentially FcFileScan was
equivalent to FcFreeTypeQuery. Now fc-scan tool correctly applies
the configuration to the scanned patterns.
const FcChar8 *file,
FcBool force)
{
const FcChar8 *file,
FcBool force)
{
- return FcFileScanConfig (set, dirs, blanks, file, NULL);
+ return FcFileScanConfig (set, dirs, blanks, file, FcConfigGetCurrent ());
if (cache || !force)
return FcFalse;
if (cache || !force)
return FcFalse;
- return FcDirScanConfig (set, dirs, blanks, dir, force, NULL);
+ return FcDirScanConfig (set, dirs, blanks, dir, force, FcConfigGetCurrent ());