Linux compilation fix

This commit is contained in:
Jakub Melka 2023-09-30 14:16:49 +02:00
parent a29a35e029
commit bf4ed862e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;