This is a revised CB of  738 and its companion 764 (which were made  before svn move). This and CB 1144 are intended for the inclusion in the release branch (if possible).  I have some more fundamental (and far better) changes coming up for the trunk.
This is a revised CB of  738 and its companion 764 (which were made 
before svn move). This and CB 1144 are intended for the inclusion in the release
branch (if possible). 
I have some more fundamental (and far better) changes coming up for the trunk.

* Added containsCharacter static function to check whether a font supports a given character.
(this check is not done for Latin case because it's hardly necessary for it). It's most significant 
for Han (bugs 971960, 1314940)

* The cmap table (indirectly obtained with Windows API and is limited to BMP) is cached. This can have a memory 
implication. Somehow, intl1 (where I expected the increase most) and intl2 tests do not show any memory increase (rendere). 
To my surprise,  moz has some memory increase ( vm_renderer_peak is up by 10%. vm_final does not change), but I'm not sure 
whether that's real or bogus.



BUG=1241039,1314945,971960,1314940


git-svn-id: http://src.chromium.org/svn/trunk/src@548 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: eb5efa3d0713fe04ceff3e23f7e2ba1db81dc756
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser