[Qt-interest] Need help in confirming buggy font metrics on OS X

Zeljko zeljko at holobit.net
Fri Jul 1 10:22:25 CEST 2011


Nikos Chantziaras wrote:

> It seems I've come across a very annoying bug in the OS X version of Qt.
>   I already filed a bug report about it:
> 
>    http://bugreports.qt.nokia.com/browse/QTBUG-20130
> 
> It would be great if another person who's on Qt 4.7.3 + OS X 10.6.7/8
> could confirm this, so that I know it's not due to something weird on my
> system.  A small application (including a *.pro file) is included in the
> bug report.

So, that's the reason why I have crashes under Mac with Qt 4.7 but not with 4.6

Qt: internal: -108: Error ATSUMeasureTextImage text/qfontengine_mac.mm: 1241
Qt: internal: -108: Error ATSUMeasureTextImage text/qfontengine_mac.mm: 1241

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc000f47e
0x03513301 in QTextEngine::shapeTextMac ()
(gdb) bt
#0  0x03513301 in QTextEngine::shapeTextMac ()
#1  0x0351372f in QTextEngine::shapeText ()
#2  0x03513b14 in QTextEngine::shape ()
#3  0x03515ba5 in QTextEngine::boundingBox ()
#4  0x034eef56 in QFontMetrics::boundingRect ()
#5  0x036e7771 in QComboBoxPrivate::recomputeSizeHint ()
#6  0x036e7abe in QComboBox::sizeHint ()





More information about the Qt-interest-old mailing list