mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-29 09:40:26 +01:00
Bugfix: Better font handling
This commit is contained in:
parent
bc0bc27b72
commit
ff1e585dad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user