RESOLVED FIXED 106775
[GTK] Fix baseline positioning issue by updating Freetype
https://bugs.webkit.org/show_bug.cgi?id=106775
Summary [GTK] Fix baseline positioning issue by updating Freetype
Dominik Röttsches (drott)
Reported 2013-01-14 02:58:39 PST
Analogously to bug 106774, I'd recommend updating freetype from 2.4.2 in jhbuild to > 2.4.6, ideally 2.4.11.
Attachments
Patch (2.01 KB, patch)
2013-04-15 14:23 PDT, Zan Dobersek
no flags
Patch (4.69 KB, patch)
2013-04-19 00:43 PDT, Zan Dobersek
no flags
Zan Dobersek
Comment 1 2013-02-28 08:04:44 PST
Since mimicking bug #106774 seems to be desired, is enabling subpixel layout required along with updating Freetype?
Zan Dobersek
Comment 2 2013-02-28 08:06:32 PST
(Enabling subpixel layout on GTK is covered by bug #94792.)
Dominik Röttsches (drott)
Comment 3 2013-03-05 03:45:16 PST
(In reply to comment #1) > Since mimicking bug #106774 seems to be desired, is enabling subpixel layout required along with updating Freetype? It's not required, but in my opinion it makes sense to do the rebaselining for both changes in one effort. That said, I would recommend to wait until Freetype's next release. I am expecting http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=e0469372be3870a5ad60b2c4586e9c281357bd28 to have a (positive) effect on baseline positioning. The commit fixes a rounding issue for smaller font sizes by emulating what Windows GDI is doing.
Zan Dobersek
Comment 4 2013-04-15 14:23:00 PDT
Zan Dobersek
Comment 5 2013-04-15 14:27:01 PDT
(In reply to comment #4) > Created an attachment (id=198187) [details] > Patch This bumps the Freetype dependency to 2.4.11. All the rebaselining will be at first done in a GitHub branch and possibly landed over a low-traffic period (probably in weekend time). The e0469372be patch (comment #3) is at the moment not included but will be tested on the branch to see if the reduction in required rebaselining is worth including the patch separately and applying it over 2.4.11 or if it is better to wait for the 2.4.12 release.
Zan Dobersek
Comment 6 2013-04-19 00:43:49 PDT
Zan Dobersek
Comment 7 2013-04-19 01:00:06 PDT
(In reply to comment #6) > Created an attachment (id=198821) [details] > Patch Now includes the e0469372be Freetype patch. That patch doesn't really reduce the amount of baselines, but still needs an enormous amount of rebaselining if applying it on a rebaselined subpixel-enabled setup, so I'd like to include this patch before Freetype 2.4.12 is released.
Zan Dobersek
Comment 8 2013-04-20 12:21:42 PDT
Comment on attachment 198821 [details] Patch Clearing flags on attachment: 198821 Committed r148794: <http://trac.webkit.org/changeset/148794>
Zan Dobersek
Comment 9 2013-04-20 12:21:49 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.