[Webkit-unassigned] [Bug 102428] Support geometricPrecision for HTML elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 16 13:59:57 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102428





--- Comment #11 from Emil A Eklund <eae at chromium.org>  2012-11-16 14:01:47 PST ---
Thanks for taking a look at the patch, I appreciate your input.

(In reply to comment #10)
> (From update of attachment 174511 [details])
> This platform-specific patch appears to tie geometricprecision to two behaviors:
> 1. Allowing text runs to have non-integer widths
> 2. Allowing non-integral pixel font sizes

The reason I elected to have both behavior changes toggled by an option (and the same option at that) is to aid in testing as it allows side-by-side comparisons on a single page with a single build.
For the final change, if we decide to go ahead with it, this will most likely change.


> 1. Allowing text runs to have non-integer widths
> What’s the motivation for making (1) opt-in on any port, rather than enabling it by default for the port that doesn’t have it yet?

As you mention this is the default behavior for the apple mac port. I'll likely change chromium to enable this by default as well.

> 2. Allowing non-integral pixel font sizes
> What’s the motivation for making (2) opt-in, rather than enabling it by default for all ports?

The motivation behind making this opt-in is that the font rendering quality may suffer when scaled to a non-integral size. This is obviously platform dependent where some platforms handles non-integral sizes better than others. As long as there is a noticeable change in font rendering quality though it seems undesirable to enable the behavior by default.

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


More information about the webkit-unassigned mailing list