If I have configured e.g.:
fontName: 'icons-a'
templateFontName: 'icons',
the file name of the font files will be 'icons-a.*'.
However, because of the line fontName: options.templateFontName || options.fontName, I only have the value of templateFontName as file name available in the nunjucks template. Thus the font files can never be found.
Could you please fix this issue as soon as possible since I'm relying on this feature and can't continue for my project.
You could just add an additional filename attribute or pass in the whole config object. This would allow for even greater flexibility since you could then add extra attributes to your template for further customization