diff options
author | Cary Clark <cary@android.com> | 2011-02-18 10:55:25 -0500 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2011-02-18 10:55:25 -0500 |
commit | a11bc614a054f8a84869848fb80b7c0393d9a6b7 (patch) | |
tree | d13cfea742f8fd7394199a2fae074329cf6a1644 /WebCore/platform/graphics/android/ImageAndroid.cpp | |
parent | 0b435a609307d4acb1ad303b67070dff99cb5927 (diff) | |
download | external_webkit-a11bc614a054f8a84869848fb80b7c0393d9a6b7.zip external_webkit-a11bc614a054f8a84869848fb80b7c0393d9a6b7.tar.gz external_webkit-a11bc614a054f8a84869848fb80b7c0393d9a6b7.tar.bz2 |
use measure instead of bounder to find spaces
Pictures do not include white space characters in their
text spans, so they must be deduced. The old method
used drawing through the canvas, compared against
drawing the text directly.
The new method measure and rounds the text to match
how webkit adjusts characters' widths in WidthIterator.
bug:348629
Change-Id: I39fecd274fe0b195fbad13a6083656daa62ed852
Diffstat (limited to 'WebCore/platform/graphics/android/ImageAndroid.cpp')
0 files changed, 0 insertions, 0 deletions