forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-webkit-font-smoothing: antialiased should use CG font rendering code…
… path, not GDI https://bugs.webkit.org/show_bug.cgi?id=54004 <rdar://problem/8971429> Patch by Roger Fong <roger_fong@apple.com> on 2012-08-24 Reviewed by Dan Bernstein. When specifying -webkit-font-smoothing: antialised; the code path ends up using GDI to draw the text. GDI ends up drawing subpixel antialiased text, not aliased text anyways. The CG code path also has the capability of drawing antialiased text. The reason that the GDI path was used in the first place is no longer a concern here so we can stop using the GDI code path. * platform/graphics/win/FontCGWin.cpp: Removing GDI font drawing code path. (WebCore): (WebCore::Font::drawGlyphs): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
2c6f924
commit f6f3744
Showing
2 changed files
with
17 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters