[WebKit-devel] [Bug 291277] Does not justify or does not distribute whitespace

Dawit Alemayehu adawit at kde.org
Wed Feb 22 18:51:33 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=291277





--- Comment #18 from Dawit Alemayehu <adawit kde org>  2012-02-22 18:51:33 ---
(In reply to comment #17)
> (In reply to comment #16)
> > Hmm... That makes no sense. In kwebkitpart we read and use the font settings of
> > KHTML. Whatever you set for khtml is used by kwebkitpart ; so rendering in one
> > should produce almost similar results in another.
> 
> I do not quite get the relationship between the font settings and the wrong
> insertion of white space. From a 'black box' perspective, with the webkit
> option Konqueror computes correctly the space to distribute -- so I'd say it
> has the fonts right -- but then fails do distribute effectively, so unless the
> document has at least two space-characters between words and there is no
> in-line element inside a word, it renders ugly.

How exactly are you going to know the amount of spaces to add between words if
you actually do not have the font metrics information ? That is why the font
type and size, i.e. your fonts settings, and the justified text shown on the
page are related to one another.

At least that is what I meant. This has to be a distribution specific issue. I
cannot reproduce the problem with any of the test cases you provided so far.

> > Did you try to create a new
> > account to see if the problem remains for a newly created account ?
> 
> Yes. I tried this; unsurprisingly, I get the same: I detected this problem
> after a new install, so my account was newly created. Konqueror had the default
> webkit web engine option, and when I changed this, the rendering was all right.

Well I most definitely do not know what to tell you here. I have no idea what
SUSE is doing, but with the stock KDE and QtWebKit, which is what I am using I
cannot reproduce the issue.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list