Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.1
-
None
-
Debian lenny
fontconfig uses also bitmap fonts (Config file .fonts.conf is in attachment!)
-
ef8cd7f2e68d6d34d70c3a12e82a67ed16b92b72
Description
I get segmentation fault in QFontMetrics::width() function if:
- fontconfig is used
- bitmap font is used (eg. Adobe Helvetica) with small size (eg. 7 pixel)
- GUI is not enabled in the application
Please compile the attached small example. If size is set with setPixelSize(8), the function work properly, but it fails when 7 pixel is set.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2303 Running height() or horizontalAdvance() on QFontMetrics kill Python.
-
- Closed
-
- replaces
-
QTBUG-13934 QFontMetric::height() causes crash when QApplication::GUIenabled == false
-
- Closed
-