mirror of https://github.com/JakubMelka/PDF4QT.git
Bugfix: Linux port - forgot return
This commit is contained in:
parent
cbeb91fe18
commit
588526df6f
|
@ -254,6 +254,7 @@ QByteArray PDFSystemFontInfoStorage::loadFont(const FontDescriptor* descriptor,
|
||||||
}
|
}
|
||||||
|
|
||||||
ReleaseDC(NULL, hdc);
|
ReleaseDC(NULL, hdc);
|
||||||
|
return result;
|
||||||
#elif defined(Q_OS_UNIX)
|
#elif defined(Q_OS_UNIX)
|
||||||
FcPattern* p = FcPatternBuild(nullptr, FC_FAMILY, FcTypeString, fontName.constData(), nullptr);
|
FcPattern* p = FcPatternBuild(nullptr, FC_FAMILY, FcTypeString, fontName.constData(), nullptr);
|
||||||
if (!p)
|
if (!p)
|
||||||
|
|
Loading…
Reference in New Issue