mirror of https://github.com/JakubMelka/PDF4QT.git
Linux compilation fix
This commit is contained in:
parent
a29a35e029
commit
bf4ed862e5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue