mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: Better font handling
This commit is contained in:
@ -332,7 +332,7 @@ QString PDFSystemFontInfoStorage::getFontPostscriptName(QString fontName)
|
|||||||
fontName.remove(QLatin1String(string), Qt::CaseInsensitive);
|
fontName.remove(QLatin1String(string), Qt::CaseInsensitive);
|
||||||
}
|
}
|
||||||
|
|
||||||
return fontName.remove(QChar(' ')).remove(QChar('-')).trimmed();
|
return fontName.remove(QChar(' ')).remove(QChar('-')).remove(QChar(',')).trimmed();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user