WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
114999
Disable Subpixel layout on mac
https://bugs.webkit.org/show_bug.cgi?id=114999
Summary
Disable Subpixel layout on mac
Roger Fong
Reported
2013-04-22 16:30:06 PDT
<
rdar://problem/13667607
>
Attachments
patch
(
deleted
)
2013-04-23 17:05 PDT
,
Roger Fong
no flags
Details
Formatted Diff
Diff
patch
(5.03 KB, patch)
2013-04-25 19:02 PDT
,
Roger Fong
no flags
Details
Formatted Diff
Diff
test rebaselines
(8.02 MB, patch)
2013-04-25 19:03 PDT
,
Roger Fong
no flags
Details
Formatted Diff
Diff
patch
(5.08 KB, patch)
2013-04-26 13:23 PDT
,
Roger Fong
no flags
Details
Formatted Diff
Diff
Patch
(5.43 KB, patch)
2013-04-26 14:00 PDT
,
Roger Fong
simon.fraser
: review+
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Roger Fong
Comment 1
2013-04-23 17:05:03 PDT
Created
attachment 199335
[details]
patch
zalan
Comment 2
2013-04-24 03:53:24 PDT
+@@ -256,7 +256,7 @@ + #endif + + #if !defined(ENABLE_SUBPIXEL_LAYOUT) +-#define ENABLE_SUBPIXEL_LAYOUT 1 ++#define ENABLE_SUBPIXEL_LAYOUT 0 + #endif + + #endif /* PLATFORM(EFL) */ This is EFL. I don't think it is applicable.
Roger Fong
Comment 3
2013-04-24 11:36:29 PDT
Oops, yeah, wrong place. Meant to do the one near the end of the file.
zalan
Comment 4
2013-04-24 11:39:50 PDT
(In reply to
comment #3
)
> Oops, yeah, wrong place. Meant to do the one near the end of the file.
I dont think that needs to be changed either.
Roger Fong
Comment 5
2013-04-25 19:02:01 PDT
Created
attachment 199771
[details]
patch Got rid of the unnecessary define. This is just to disable sub pixel layout. The test rebaselines will come in a separate patch.
Roger Fong
Comment 6
2013-04-25 19:03:24 PDT
Created
attachment 199772
[details]
test rebaselines test reaselines. Note there’s there’s still a couple dozen failures that I plan on skipping and dealing with separately after this lands.
zalan
Comment 7
2013-04-25 22:45:44 PDT
Comment on
attachment 199771
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=199771&action=review
> WebCore/platform/graphics/LayoutRect.h:224 > #endif
Any particular reason why you switched from 'explicit IntRect(const LayoutRect&)' to 'IntRect(int x, int y, int width, int height)'?
Allan Sandfeld Jensen
Comment 8
2013-04-26 09:14:04 PDT
Since Qt and GTK enabled sub-pixel layout last week, it would be interesting if you could share some of the reasoning for Mac disabling it again.
zalan
Comment 9
2013-04-26 09:51:45 PDT
(In reply to
comment #8
)
> Since Qt and GTK enabled sub-pixel layout last week, it would be interesting if you could share some of the reasoning for Mac disabling it again.
Various off-by-one pixel issues as we just discussed it at #qtwebkit.
Roger Fong
Comment 10
2013-04-26 11:06:10 PDT
(In reply to
comment #7
)
> (From update of
attachment 199771
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=199771&action=review
> > > WebCore/platform/graphics/LayoutRect.h:224 > > #endif > > Any particular reason why you switched from 'explicit IntRect(const LayoutRect&)' to 'IntRect(int x, int y, int width, int height)'?
Build fix. Not quite sure why the old one stopped working. I'll look into it.
Roger Fong
Comment 11
2013-04-26 13:23:46 PDT
Created
attachment 199855
[details]
patch Change build fix to add an export
Roger Fong
Comment 12
2013-04-26 14:00:00 PDT
Created
attachment 199857
[details]
Patch
Simon Fraser (smfr)
Comment 13
2013-04-26 14:11:50 PDT
Comment on
attachment 199857
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=199857&action=review
> Source/WebCore/ChangeLog:9 > + Reviewed by NOBODY (OOPS!). > + > + * Configurations/FeatureDefines.xcconfig: > + * WebCore.exp.in:
This should say why you changed WebCore.exp.in
Roger Fong
Comment 14
2013-04-26 15:20:25 PDT
committed:
http://trac.webkit.org/changeset/149209
zalan
Comment 15
2013-04-26 15:42:59 PDT
yay!
Balazs Kelemen
Comment 16
2013-05-09 06:02:26 PDT
(In reply to
comment #9
)
> (In reply to
comment #8
) > > Since Qt and GTK enabled sub-pixel layout last week, it would be interesting if you could share some of the reasoning for Mac disabling it again. > > Various off-by-one pixel issues as we just discussed it at #qtwebkit.
This is a great source of platform bugs/misbehavior. I absolutely incompetent in the topic but it seems to me that diverging across ports in such a fundamental behavior is unhealthy. I think all platforms should make a consensus on this otherwise we are developing different engines in the same project which does not make sense.
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