Fix for Shaping. 15/36415/2
authorVictor Cebollada <v.cebollada@samsung.com>
Fri, 6 Mar 2015 07:49:03 +0000 (07:49 +0000)
committerVictor Cebollada <v.cebollada@samsung.com>
Fri, 6 Mar 2015 10:49:57 +0000 (10:49 +0000)
commitb7a6bc2dcbd598916a74186ba69bd9e522c23d09
tree48c51987a0f72c8f2f9f41686c3267a311a1b76d
parentc6b64a162088c12ef1b69aa40234e6d4dd772763
Fix for Shaping.
  - In a text with different scripts, the text is shaped in runs of
    characters with the same script. Adpator return the character
    index of each glyph starting always by 0. Toolkit was not
    updating the indices given by the adaptor for the runs after the
    first one.
  - characterIndices renamed to glyphsToCharactersMap.
  - Adaptor retrieves the glyphsToCharactersMap. Toolkit was setting
    the glyphsToCharactersMap to the charactersPerGlyph vector.

Change-Id: I9c74741fadb6d68bca29629ff79ed7bc48dd2840
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/shaper.cpp
dali-toolkit/internal/text/shaper.h
dali-toolkit/internal/text/text-controller.cpp