This commit is contained in:
acalcutt 2025-01-04 23:07:19 -05:00
parent 1c5ee75c34
commit 59f4dccb07

View file

@ -235,7 +235,7 @@ function getFontPbf(allowedFonts, fontPath, name, range, fallbacks) {
if (err) {
console.error(
'ERROR: Font not found: %s, Error: %s',
filename,
filename.replace(/\n|\r/g, ''),
String(err),
);
if (fallbacks && Object.keys(fallbacks).length) {