mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-01 02:58:08 +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);
|
fontName.remove(QLatin1String(string), Qt::CaseInsensitive);
|
||||||
}
|
}
|
||||||
|
|
||||||
return fontName.remove(QChar(' ')).remove(QChar('-')).trimmed();
|
return fontName.remove(QChar(' ')).remove(QChar('-')).remove(QChar(',')).trimmed();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user