Bug 104522 - [Qt] error occurs while displaying justified Arabic texts
Summary: [Qt] error occurs while displaying justified Arabic texts
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 01:20 PST by hassan
Modified: 2014-02-03 03:23 PST (History)
3 users (show)

See Also:


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 Details
more comment for this bug (81.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-12-10 01:39 PST, hassan
no flags Details
A html Document for incorrect justify in Arabic text (1022 bytes, text/html)
2012-12-10 20:37 PST, hassan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description hassan 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
Comment 1 hassan 2012-12-10 01:38:09 PST
Created attachment 178488 [details]
Left picture is correct in firefox but right picture is incorrect in QtWebKit :
Comment 2 hassan 2012-12-10 01:39:16 PST
Created attachment 178489 [details]
more comment for this bug
Comment 3 Alexey Proskuryakov 2012-12-10 09:49:51 PST
Do you have an example HTML document that you could attach as a test here?
Comment 4 hassan 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.
Comment 5 hassan 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>
Comment 6 Alexey Proskuryakov 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.
Comment 7 hassan 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.
Comment 8 Jocelyn Turcotte 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.