The issue is that fontconfig requires /etc/fonts/fonts.conf
file, which MacOS likely does not have, unless it uses fontconfig itself. So we would either need to patch fontconfig to look into a fallback path when that does not exist, or work around it by setting FONTCONFIG_FILE
environment variable as folllows:
1 Like