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: de016e52bd170d2d4f2344f9bf92d50478b649e0@548 0039d316-1c4b-4281-b951-d872f2087c98

adobe/chromium,ropik/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium