Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.4.0
-
None
-
Mac Os 10.10.1
Qt 5.0 Community Edition
Description
All Hieroglyps character are stored using surrogate pairs. QPainter's drawText method can't paint always at each time theses character, and Qlabel can't display this character too. In both test, I use a font named "AEgyptus".
The same character can be displayed by other programs in my computer.
The strangest part is same binary executed several time don't display each time the same caracter (cf the screenshoots 4 execution of the same code 4 differents result the bird is the execpeted result).
The fonts are here http://bit.ly/1snZiy2 (AEgyptus)
the code to display that
BTW for the Bird
To reproduce the bird => res = 78143
int res = Map->value(*hiero);
const wchar_t testwc= (const wchar_t)res;
Hieroglyph.append(QString::fromWCharArray(&testwc, 1));
Attachments
Issue Links
- is replaced by
-
QTBUG-28853 QPainter's drawText method can't paint unicode characters with code values above 65535
- Closed