DescriptionMake bigger string size in RenderTextHarfBuzz.
Some diacritics appear above the ascents, and some glyphs
like underscore may appear below descent. However, our code
base seems to assume a line from the ascent and the descent.
This CL makes enough string size for the gap between the top
bearing line and the ascent and the gap between bottom
bearing line and the descent so that they are drawn inside
of the specified area.
BUG=459812
R=msw@chromium.org, ckocagil@chromium.org
TEST=gfx_unittests still succeeds
Patch Set 1 #Patch Set 2 : test fixes #Patch Set 3 : keep using fAscent/fDescent but make bigger string size #Patch Set 4 : fix #
Total comments: 8
Patch Set 5 : fix test failures #Patch Set 6 : comments addressed #
Total comments: 5
Messages
Total messages: 9 (3 generated)
|