WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 92376
40673
offsetForPositionForComplexText() truncates float -> int on several platforms
https://bugs.webkit.org/show_bug.cgi?id=40673
Summary
offsetForPositionForComplexText() truncates float -> int on several platforms
Nikolas Zimmermann
Reported
2010-06-16 05:16:34 PDT
When
bug 40665
lands, offsetForPositionForComplexText() no longer takes an 'int' parameter for the position, but a float. This is only relevant for SVG text, which supports subpixel positioning, and only for complex text. Qt and Mac handle the float parameter properly, Win/Gtk etc not. That should be fixed, but has low importance.
Attachments
Add attachment
proposed patch, testcase, etc.
Dominik Röttsches (drott)
Comment 1
2013-01-28 02:20:25 PST
Nikolas, I'll close this as duplicate. For GTK & EFL this is fixed in
bug 92376
, landed as
r124111
. HarfBuzzShaper::offsetForPosition now takes a float argument and does the computation with this value without breaking it down or rounding it. Please reopen if you think this is not completely fixed. *** This bug has been marked as a duplicate of
bug 92376
***
Dominik Röttsches (drott)
Comment 2
2013-01-28 02:21:15 PST
(In reply to
comment #1
)
> For GTK & EFL...
What i meant: For Harfbuzz-NG ports.
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