Bugfix: Linux port - forgot return

This commit is contained in:
Jakub Melka 2021-10-29 19:03:00 +02:00
parent cbeb91fe18
commit 588526df6f
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ QByteArray PDFSystemFontInfoStorage::loadFont(const FontDescriptor* descriptor,
}
ReleaseDC(NULL, hdc);
return result;
#elif defined(Q_OS_UNIX)
FcPattern* p = FcPatternBuild(nullptr, FC_FAMILY, FcTypeString, fontName.constData(), nullptr);
if (!p)