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