@Joop, the simple way is to use the files under /etc/fonts from the fontconfig package, put the fonts directory somewhere and use SET FONTCONFIG_PATH to point at it. This has the redirect for warpsans and also the pseudo directory OS2FONTDIR which will load all the fonts in the ini files.
@roberto, that is the old fontconfig library and doesn't do anything with FF38ESR