Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2010-06-29 Adam Langley <agl@chromium.org>
Reviewed by Kent Tamura. [chromium] Support forced autohinting. https://bugs.webkit.org/show_bug.cgi?id=40493 Freetype (the typical font rendering on Linux) includes an 'autohinter': an algorithm for hinting glyph shapes without using the embedded hinting bytecode in a font. Some people prefer the autohinter's results, so we support forcing its use. This change also fixes a bug where two FontPlatformData structures would compare equal, even if their rendering styles were different. * platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::setupPaint): In order to compare FontPlatformData structures we need to make sure that they are initialised. (WebCore::FontPlatformData::operator==): * platform/graphics/chromium/FontRenderStyle.h: (WebCore::FontRenderStyle::FontRenderStyle): (WebCore::FontRenderStyle::operator==): This fixes the case where two FontPlatformData structures, differing only by rendering style, would compare equal. Canonical link: https://commits.webkit.org/53079@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@62121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Adam Langley
committed
Jun 29, 2010
1 parent
7395e29
commit 4300873
Showing
8 changed files
with
138 additions
and
5 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
2 changes: 1 addition & 1 deletion
2
...linux/platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle-expected.checksum
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0724a0d048b168716737edd97826266f | ||
5a3c29af0d1c8b8ddc95b91673e2e007 |
Binary file modified
BIN
+10.2 KB
(140%)
.../platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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