Fix for text layout. 19/66819/3
authorVictor Cebollada <v.cebollada@samsung.com>
Thu, 21 Apr 2016 06:40:04 +0000 (07:40 +0100)
committerVíctor Cebollada <v.cebollada@samsung.com>
Thu, 21 Apr 2016 09:55:18 +0000 (02:55 -0700)
commit008e8f30624bc5abdfc707fdafd31b0540fa53d0
tree29fcdb66e38f9e721a82ebbe0bec7b7bc21f328d
parent0302e2897031cbf4ab7f15a93eb784ab85d4507d
Fix for text layout.

* If a character is shaped in more than one glyph and this character is at the end of a text,
  each glyph was rendered in a different line.
  This is because the segmentation info says the last character is a MUST_BREAK. When the glyphs
  of the last character are traversed they get a MUST_BREAK and they are laid-out in a new line.

Change-Id: Ic88a196bd0787e819dba0e7a887b4486506e7a50
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/file.list
dali-toolkit/internal/text/glyph-metrics-helper.cpp [new file with mode: 0644]
dali-toolkit/internal/text/glyph-metrics-helper.h [new file with mode: 0644]
dali-toolkit/internal/text/layouts/layout-engine.cpp
dali-toolkit/internal/text/metrics.h
dali-toolkit/internal/text/text-controller-impl.cpp