From ff1e585dad938c57d76eb6da48f0235518d5b992 Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Thu, 9 Jul 2020 17:24:41 +0200 Subject: [PATCH] Bugfix: Better font handling --- PdfForQtLib/sources/pdffont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PdfForQtLib/sources/pdffont.cpp b/PdfForQtLib/sources/pdffont.cpp index b13bc39..a3b054a 100644 --- a/PdfForQtLib/sources/pdffont.cpp +++ b/PdfForQtLib/sources/pdffont.cpp @@ -332,7 +332,7 @@ QString PDFSystemFontInfoStorage::getFontPostscriptName(QString fontName) fontName.remove(QLatin1String(string), Qt::CaseInsensitive); } - return fontName.remove(QChar(' ')).remove(QChar('-')).trimmed(); + return fontName.remove(QChar(' ')).remove(QChar('-')).remove(QChar(',')).trimmed(); } #endif