diff --git a/Pdf4QtLib/sources/pdffont.cpp b/Pdf4QtLib/sources/pdffont.cpp index 6823ff2..824047c 100644 --- a/Pdf4QtLib/sources/pdffont.cpp +++ b/Pdf4QtLib/sources/pdffont.cpp @@ -428,7 +428,7 @@ QByteArray PDFSystemFontInfoStorage::loadFontImpl(const FontDescriptor* descript if (result.isEmpty() && standardFontType == StandardFontType::Invalid) { reporter->reportRenderError(RenderErrorType::Warning, PDFTranslationContext::tr("Inexact font substitution: font %1 replaced by standard font Times New Roman.").arg(fontName)); - result = loadFontImpl(descriptor, StandardFontType::TimesRoman, reporter); + result = loadFontImpl(descriptor, fontName, StandardFontType::TimesRoman, reporter); } return result;