summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/12
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-05-03 16:35:54 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-05-21 23:04:05 +0000
commit41541825bc90dac740e424cdd41a8c997e15cdb7 (patch)
treec06c9c12d2d67381014c22dca77f22478825e642 /docs/html/sdk/api_diff/12
parent7f43674db314ab76e77cfd2a9488058eae144aa8 (diff)
Use individual glyph positions to determine text bounds.
bug:8766924 Previously text bounds were calculated to be from 0 to totalAdvance in the X, and from the font's top to bottom. These are incorrect, especially in light of the font fallback mechanism. Now, we calculate the bounds of the text as we layout each glyph. Since these are much tighter bounds in the common case, this significantly reduces the amount of clipping required (which in turn enables more aggressive text merging). Change-Id: I172e5466bf5975bf837af894a9964c41db538746
Diffstat (limited to 'docs/html/sdk/api_diff/12')
0 files changed, 0 insertions, 0 deletions