Bug 29423 - [Qt] text-align: justify don't work with cyrillic text
Summary: [Qt] text-align: justify don't work with cyrillic text
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2009-09-18 07:42 PDT by Tor Arne Vestbø
Modified: 2014-01-29 07:46 PST (History)
2 users (show)

See Also:


Attachments
Test case (same as in the description) (4.26 KB, text/html)
2009-12-07 04:10 PST, Jocelyn Turcotte
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Arne Vestbø 2009-09-18 07:42:28 PDT
This bug report originated from issue QTBUG-3940
<http://bugreports.qt.nokia.com/browse/QTBUG-3940>

--- Description ---

I am load attached file to QWebView. 
This file contains style - "p { text-align: justify; }" and cyrillic text. 

I want to see correct aligned cyrillic text. 
 
I got rendering error in paragraphs contains cyrillic text. 
 
Similar bug: https://bugs.webkit.org/show_bug.cgi?id=5461

index.html:

<html><head>
<style>
p { text-align: justify; }
</style>
</head>a
<body>
<p>This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. This text will rendered ok. </p>

<p>&#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;&#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;&#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;
 &#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;&#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;&#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1
 090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;&#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1040; &#1101;&#1090;&#1086; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089; &#1072;&#1088;&#1090;&#1077;&#1092;&#1072;&#1082;&#1090;&#1072;&#1084;&#1080; &#1080; &#1085;&#1077; &#1074;&#1099;&#1088;&#1072;&#1074;&#1085;&#1080;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. </p>

<p>&#1069;&#1090;&#1086;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090; &#1090;&#1072;&#1082; &#1078;&#1077;&#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1085;&#1077; &#1074;&#1077;&#1088;&#1085;&#1086;. This text will rendered with error. &#1069;&#1090;&#1086;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090; &#1090;&#1072;&#1082; &#1078;&#1077; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1085;&#1077; &#1074;&#1077;&#1088;&#1085;&#1086;. This text will rendered with error. &#1069;&#1090;&#1086;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090; &#1090;&#1072;&#1082; &#1078;&#1077; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1085;&#1077; &#1074;&#1077;&#1088;&#1085;&#1086;. This text will rendered with error. &#1069;&#1090;&#1086;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090; &#1090;&#1072;&#1082; &#1078;&#1077; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#10
 77;&#1090;&#1089;&#1103; &#1085;&#1077; &#1074;&#1077;&#1088;&#1085;&#1086;. This text will rendered with error. &#1069;&#1090;&#1086;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090; &#1090;&#1072;&#1082; &#1078;&#1077; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1072;&#1077;&#1090;&#1089;&#1103; &#1085;&#1077; &#1074;&#1077;&#1088;&#1085;&#1086;. This text will rendered with error. </p>
</body>
</html>
Comment 1 Jocelyn Turcotte 2009-12-07 04:10:02 PST
Created attachment 44399 [details]
Test case (same as in the description)
Comment 2 Tor Arne Vestbø 2010-03-23 04:37:49 PDT
Related to bug 35343?
Comment 3 Jesus Sanchez-Palencia 2010-05-14 07:41:20 PDT
Works fine on Snow Leopard with Qt 4.7 trunk (HEAD 03f8f1df0d88f5ffe0b3120cffce614cbeefdb70) and WebKit trunk (r59155).
Comment 4 Jocelyn Turcotte 2010-05-18 03:24:39 PDT
I can still see this issue with trunk on Windows, the justification is not working.