WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 113301
[Qt] Poor rounding in GraphicsContext::drawLineForText
https://bugs.webkit.org/show_bug.cgi?id=113301
Summary
[Qt] Poor rounding in GraphicsContext::drawLineForText
Allan Sandfeld Jensen
Reported
2013-03-26 06:02:08 PDT
We truncate the position of the line in GraphicsContext::drawLineForText, this gives correct results as long as the coordinates coming in are integer. If we enable SUBPIXEL_LAYOUT however the positions coming in will often be fractions of pixels leading to bad rounding.
Attachments
Patch
(1.56 KB, patch)
2013-03-26 06:03 PDT
,
Allan Sandfeld Jensen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Allan Sandfeld Jensen
Comment 1
2013-03-26 06:03:51 PDT
Created
attachment 195070
[details]
Patch
WebKit Review Bot
Comment 2
2013-03-26 06:53:54 PDT
Comment on
attachment 195070
[details]
Patch Clearing flags on attachment: 195070 Committed
r146878
: <
http://trac.webkit.org/changeset/146878
>
WebKit Review Bot
Comment 3
2013-03-26 06:53:57 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug