For Qt 5 in QtWebkit library, an error occurs while displaying justified Arabic texts. The same error occurred in previous versions. A sample of the error and the correct form marked with red lines are attached to the present email. The style employed in HTML is: <p style="text-align:justify; font-family: Traditional Arabic; direction:rtl;"> Moreover, there has been enclosed a sample code of the program. Kind Regards
Created attachment 178488 [details] Left picture is correct in firefox but right picture is incorrect in QtWebKit :
Created attachment 178489 [details] more comment for this bug
Do you have an example HTML document that you could attach as a test here?
Created attachment 178702 [details] A html Document for incorrect justify in Arabic text this html document justify correctly in firefox but in webkit its rendering not well.
Comment on attachment 178702 [details] A html Document for incorrect justify in Arabic text <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> </head> <body> <p style="text-align:justify; font-family: Traditional Arabic; direction:rtl; font-size: 45px;"> بِسْمِ اَللّٰهِ اَلرَّحْمٰنِ اَلرَّحِيمِ ( 1 ) اَلْحَمْدُ لِلّٰهِ رَبِّ اَلْعٰالَمِينَ ( 2 ) اَلرَّحْمٰنِ اَلرَّحِيمِ ( 3 ) مٰالِكِ يَوْمِ اَلدِّينِ ( 4 ) إِيّٰاكَ نَعْبُدُ وَ إِيّٰاكَ نَسْتَعِينُ ( 5 ) اِهْدِنَا اَلصِّرٰاطَ اَلْمُسْتَقِيمَ ( 6 ) صِرٰاطَ اَلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ اَلْمَغْضُوبِ عَلَيْهِمْ وَ لاَ اَلضّٰالِّينَ ( 7 ) </p> </body> </html>
This test looks good to me in Safari on OS X, so the issue appears to be Qt specific.
yes. it also looks correct in IE and Google Chrome and FireFox. This problem just Look in QtWebKit.
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.