Bugfix: Better font handling

This commit is contained in:
Jakub Melka 2020-07-09 17:24:41 +02:00
parent bc0bc27b72
commit ff1e585dad

View File

@ -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