[4.0] FreeType fonts/library - Stop creating new instances. 81/185781/4
authorVictor Cebollada <v.cebollada@samsung.com>
Wed, 1 Aug 2018 16:00:24 +0000 (17:00 +0100)
committerVíctor Cebollada <v.cebollada@samsung.com>
Thu, 2 Aug 2018 13:48:02 +0000 (13:48 +0000)
commitc2857ae2d6ac0d55b82c4af98ccf4c4f6ba8590b
tree28aba1de6e4c31c36d73fdb37e60c4630acae3c1
parentf5db0fa9148636cc65f53c322ddefc1b1a6a02d3
[4.0] FreeType fonts/library - Stop creating new instances.

* The shaping tool creates a new instance
of the FreeType library and the font faces instead of using the
ones cached in the font client.
  It causes a bug in the WatchFace emulator when a new model is
loaded (The text show the wrong glyphs shaped with the wrong font).

Change-Id: I1c9ff437b9eed42ece2290642c279bc228ffa442
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
text/dali/internal/text-abstraction/font-client-impl.cpp
text/dali/internal/text-abstraction/font-client-impl.h
text/dali/internal/text-abstraction/font-client-plugin-impl.cpp
text/dali/internal/text-abstraction/font-client-plugin-impl.h
text/dali/internal/text-abstraction/shaping-impl.cpp