The cache for the valid fonts per script is resized with the number of
supported scripts. Can not use the PushBack() as there is already space
for the item.
Change-Id: I024b112abc523adb7e9f185b1fd4c70f4ff8d060
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
{
validateFontsPerScript = new ValidateFontsPerScript();
- mValidFontsPerScriptCache.PushBack( validateFontsPerScript );
- validFontsPerScriptCacheBuffer = mValidFontsPerScriptCache.Begin();
+ *( validFontsPerScriptCacheBuffer + script ) = validateFontsPerScript;
}
if( NULL != validateFontsPerScript )