mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Linux compilation fix
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user