[Solved]Why a dot char changes to a box in a arabic string?
-
wrote on 10 Apr 2015, 06:14 last edited by dhuta
I find i have the same question as http://www.qtcentre.org/threads/59640-dot-gets-converted-into-square-with-arabic-language-on-Android-5-plateform shows.
I know that, the arabic font file i used in my program defines the '.notdef' char that represent the so-called 'box' which painted on the screen.
Can anyone help me figure it out?
-
wrote on 10 Apr 2015, 18:00 last edited by
What Qt version are you using? This bug was fixed in Qt 5.2.1. See here: https://bugreports.qt.io/browse/QTBUG-34191
-
wrote on 13 Apr 2015, 02:16 last edited by
It's Qt5.3.1 on linux. I know the box showed is not generated by QFontEngineBox, but a definition in the font file, and under the font path, there are many font files that some one includes the 'dot' char for sure.
-
What Qt version are you using? This bug was fixed in Qt 5.2.1. See here: https://bugreports.qt.io/browse/QTBUG-34191
wrote on 13 Apr 2015, 02:29 last edited by@Wieland here is the text:
"إحداثيات قريبة إلى أصل الصورة الرمزية (0،0)، وذلك باستخدام صعودا اتفاقية ذ. هذه الدالة تأخذ حجة خاصة، ووضع BBOX، للإشارة إلى كيفية التعبير عن الإحداثيات مربع."On my pc, it works well. But on my embed device, the 'dot' at the tail changes to square. Is it the problem of my embed device?
-
What Qt version are you using? This bug was fixed in Qt 5.2.1. See here: https://bugreports.qt.io/browse/QTBUG-34191
wrote on 13 Apr 2015, 04:10 last edited by dhuta@Wieland I find the official resolution https://codereview.qt-project.org/#/c/92375/ . But it also faild on my embed device :(
-
wrote on 14 Apr 2015, 01:47 last edited by
In qtbase/src/gui/text/qtextengine.cpp, line 127.
qt5.4 changes&& m_analysis[i].script == m_analysis[start].script
to&& (m_analysis[i].script == m_analysis[start].script || m_string[i] == QLatin1Char('.'))
. Rollback can resolve it. -
Hi,
Do you mean it still broken ?
2/8