Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
5.5.1
-
None
-
OS X 10.11
Description
Some specific texts (at least one is provided: QChar(0x261C) + QChar(0x0B43)) causes harfbuzz text shaping crash in OS X in Qt 5.5.1.
#include <QtGui/QGuiApplication> #include <QtGui/QFontMetrics> int main(int argc, char *argv[]) { QGuiApplication a(argc, argv); qWarning() << QFontMetrics(a.font()).width(QString() + QChar(0x261C) + QChar(0x0B43)); return a.exec(); }
Example project and crash screenshot are attached.