On Thursday 10 March 2005 07:33, Munzir Taha wrote:
On Yaum al-Khamees 15 Muharram 1426 13:18, Munzir Taha wrote:
> app.setFont(QFont(""));
>
> QHBoxWidget *hbox = new QHBoxWidget(0);
> QSpinBox *spinBox = new QSpinBox(hbox);
>
> spinBox->setValue(35);
> hbox->show();
>
> PROBLEM:
> A run-time crash with this message:
> ASSERT: "(next == length && gp == current.num_glyphs) ||
> logClusters[next] == gp" in file
> /usr/local/qt/src/gui/text/qtextlayout.cpp, line 1146 Aborted (core
> dumped)
Lars, have you been able to reproduce/solve this? If not, I will try to
come with something more concrete than QFont(""). Just drop me a note.
This is still reproducable with Qt 4.0.0-b2-snapshot-20050318 as
ASSERT: "(next == length && gp == current.num_glyphs) || logClusters[next] ==
gp" in file /usr/local/qt-sync/src/gui/text/qtextlayout.cpp, line 1121
I managed now to reproduce it with QFont("anygarbage"), so for some reason
QFont didn't recognize some fonts passed which indicates two bugs. Bug 1: why
not recognized? Bug 2: Even though why not falling back to the default
application font instead of the crash? I can send/post one of those fonts
that are not recognized if wanted.
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver
www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA