RESOLVED INVALID 104522
[Qt] error occurs while displaying justified Arabic texts
https://bugs.webkit.org/show_bug.cgi?id=104522
Summary [Qt] error occurs while displaying justified Arabic texts
hassan
Reported 2012-12-10 01:20:07 PST
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
Attachments
Left picture is correct in firefox but right picture is incorrect in QtWebKit : (67.16 KB, image/png)
2012-12-10 01:38 PST, hassan
no flags
more comment for this bug (81.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-12-10 01:39 PST, hassan
no flags
A html Document for incorrect justify in Arabic text (1022 bytes, text/html)
2012-12-10 20:37 PST, hassan
no flags
hassan
Comment 1 2012-12-10 01:38:09 PST
Created attachment 178488 [details] Left picture is correct in firefox but right picture is incorrect in QtWebKit :
hassan
Comment 2 2012-12-10 01:39:16 PST
Created attachment 178489 [details] more comment for this bug
Alexey Proskuryakov
Comment 3 2012-12-10 09:49:51 PST
Do you have an example HTML document that you could attach as a test here?
hassan
Comment 4 2012-12-10 20:37:18 PST
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.
hassan
Comment 5 2012-12-10 20:57:37 PST
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>
Alexey Proskuryakov
Comment 6 2012-12-10 21:55:20 PST
This test looks good to me in Safari on OS X, so the issue appears to be Qt specific.
hassan
Comment 7 2012-12-11 20:44:53 PST
yes. it also looks correct in IE and Google Chrome and FireFox. This problem just Look in QtWebKit.
Jocelyn Turcotte
Comment 8 2014-02-03 03:23:51 PST
=== 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.
Note You need to log in before you can comment on or make changes to this bug.