Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GTK] Bump freetype version to 2.8.0
https://bugs.webkit.org/show_bug.cgi?id=176351 Source/WebCore: Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2017-09-06 Reviewed by Carlos Alberto Lopez Perez. Retrieving line spacing info without metrics hinting - FreeType's metric hinting uses rounding which results in the sum of ascent and descent being larger than the line height. To work around this without globally disabling font metrics hinting, I am temporarily creating a new cairo scaled font with metrics hinting off and retrieving the height values from this one. * platform/graphics/freetype/SimpleFontDataFreeType.cpp: (WebCore::scaledFontWithoutMetricsHinting): New function to clone the existing font, only with metrics hinting disabled. (WebCore::Font::platformInit): Get height info from non-metrics hinted font, disable rounding for linespacing. Tools: Reviewed by Carlos Alberto Lopez Perez. Remove the patch we were using since it was reverted upstream. * gtk/jhbuild.modules: * gtk/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Removed. Canonical link: https://commits.webkit.org/193031@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
d5fb007
commit 8b7f5f8a84a1959c1a967a28263e580749b24045
Showing
5 changed files
with
52 additions
and
48 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
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 was deleted.
Oops, something went wrong.