Dear Dmitry, Of course I know about the difference between tabs and spaces.
Segfault? Well maybe I should add the full code: ### CODE START from PyQt4.QtGui import QApplication, QLabel a = QApplication([]) b = QLabel() b.setGeometry(0, 0, 100, 24) text = 'blah\tmooh\twoof' fm = b.fontMetrics() b.setText(fm.elidedText(text, 1, b.width())) b.show() ### CODE END The width of the tab is 80px according to Qt documentation, but this is not consistent with my experience, in my configuration in this QLabel it seems to be about 56px wide. Anyway I think it's an upstream problem, right from Qt, like so many :(. Brgds, enno. -- // enno....@gmx.net /\\\ Mag. Enno Deimel .\ o \\ \ _ \ Wisely and slow; they stumble that run fast. \\\ \_/ gpg-fp: eefe b049 6fe6 fc0b 0ec4 f39e af6a c178 eb98 909a -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org