Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r221670 - [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.
- Loading branch information
1 parent
fa51f6b
commit 1db4926
Showing
5 changed files
with
51 additions
and
46 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
39 changes: 0 additions & 39 deletions
39
Tools/gtk/patches/freetype6-2.4.11-truetype-font-height-fix.patch
This file was deleted.
Oops, something went wrong.