diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 16:02:09 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 16:02:09 +0000 |
commit | 922fdcfdb084f93cf7ca111bab5e325a90725ec0 (patch) | |
tree | 0424a30ca7a89fa0cabe2ca6d4f857bf00c4a4cd /chrome/common | |
parent | 1d85e36be195a8ab2b505099160ed4ffb614541d (diff) | |
download | chromium_src-922fdcfdb084f93cf7ca111bab5e325a90725ec0.zip chromium_src-922fdcfdb084f93cf7ca111bab5e325a90725ec0.tar.gz chromium_src-922fdcfdb084f93cf7ca111bab5e325a90725ec0.tar.bz2 |
Improve RenderTextWin font fallback.
Don't use SCRIPT_UNDEFINED in the case of font fallback,
unless font fallback actually fails to return a script
that can display the characters. This fixes the problem
of some scripts not being properly displayed.
This actually makes RenderTextWin properly validate whether
a text position accepts a cursor, which caused several tests
to fail and revealed some additional issues in RenderTextWin.
The CL includes some modifications to address this.
Some tests are disabled under XP, see:
http://crbug.com/106450
Also, fixes some lint warnings.
BUG=90426
TEST=Run chrome.exe --use-pure-views and paste some Bengali
text into the omnibox. It should show up properly.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113075
Review URL: http://codereview.chromium.org/8575020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
0 files changed, 0 insertions, 0 deletions