Bug 34470 - [Qt] Non-ASCII line breaking doesn't work properly (seen at www.mail.ru)
Summary: [Qt] Non-ASCII line breaking doesn't work properly (seen at www.mail.ru)
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL: http://www.mail.ru
Keywords: Qt, QtTriaged
Depends on:
Reported: 2010-02-02 04:02 PST by LuCiFer
Modified: 2011-03-05 00:16 PST (History)
3 users (show)

See Also:

screenshots (2.41 KB, image/png)
2010-02-02 04:02 PST, LuCiFer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description LuCiFer 2010-02-02 04:02:30 PST
Created attachment 47919 [details]

At first, sorry my english :(

I am using WebKit in Qt 4.6.1, and i am found a problem with rendering last char at some words.
This problem you can also view at other browser based on QtWebKit, sush as Arora, QtWeb, QtDemoBrowser.

To see this bug visit http://www.mail.ru, use one of them browser, and in login frame you can see that some last chars in new line. (see screenshot one)

Also you can create simple html file:

<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
.t {width: 100%;}
.t .a {width: 5%;}  
<table class="t">
        <td class="a">Пароль</td>
        <td> </td>

and open it in WebKit. Last char 'ь' will be in new line. (see screenshot two)

p.s. sorry my english again...
Comment 1 Tor Arne Vestbø 2010-03-10 06:30:13 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs.

See http://trac.webkit.org/wiki/QtWebKitBugs


  - The 'QtWebKit' component should only be used for bugs/features in the
    public QtWebKit API layer, not to signify that the bug is specific to
    the Qt port of WebKit


  - Add the keyword 'Qt' to signal that it's a Qt-related bug

Comment 2 Kent Hansen 2010-03-11 06:27:11 PST
Reproduced with Qt 4.6.3 against r55658.
Possibly same issue as https://bugs.webkit.org/show_bug.cgi?id=32019 ?
Comment 3 Joe Wild 2011-03-04 14:51:13 PST
Bug 34470 - [Qt] Non-ASCII line breaking doesn't work properly (seen
at www.mail.ru)

https://bugs.webkit.org/show_bug.cgi?id=32019 ?
Bug 32019 - [Qt] last word inside a tag is divided into two lines if
it ends with non-ascii characters

  I looked at both these errors and was not able to reproduce either.
  Neither has been commented on in almost a year.  I suspect these
  were duplicates that have been fixed along the way.

  Unless someone can verify these are still a problem, I think these
  should be resolved as WorksForMe.
Comment 4 LuCiFer 2011-03-05 00:16:21 PST
I try check this bug on Qt 4.7.0 today. I think this problem resolved.
mail.ru and example from 1st post work fine.