Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2007
QChar::Other_Surrogate in QString and QTextLayout


Message 1 in thread

Hi

I get a assert if I render text with QChat::Other_Surrogate:

ASSERT: "(pos == end && gp == current.num_glyphs) || logClusters[pos] == gp"
in file text/qtextlayout.cpp, line 1376

Is this my fault or a bug in Qt?

regards and thanks

Marco

Message 2 in thread

On Tuesday 17 April 2007 17:55:55 Marco Bubke wrote:
> Hi
>
> I get a assert if I render text with QChat::Other_Surrogate:
>
> ASSERT: "(pos == end && gp == current.num_glyphs) || logClusters[pos] ==
> gp" in file text/qtextlayout.cpp, line 1376
>
> Is this my fault or a bug in Qt?

Which Qt version are you using and can you perhaps provide a self-contained 
example that reproduces the problem?

Simon

Attachment:

Attachment: pgpkk2q34MqaI.pgp
Description: PGP signature