Skip to content
  • Tom Anderson's avatar
    Fix filepaths added when scanning with sysroot · 2ef790a0
    Tom Anderson authored
    This fixes a regression introduced by 76f88e78.  When
    using FONTCONFIG_SYSROOT=/home/tom/test_fonts, strace
    reveals that fontconfig attempted to open /test_fonts/Ahem.ttf
    instead of /home/tom/test_fonts/Ahem.ttf.  The fix is to use
    `s_dir` instead of `dir` in `file_prefix`.
    2ef790a0