FreeType fonts/library - Stop creating new instances. 73/185773/5
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:09 +0000 (13:48 +0000)
commitaead83b18b539ee9e2ac9b4ec5faf85d6e2aae75
tree6ef238fcef3e8ef53ee8b21b53ccd871e471e40e
parenta060574ce34608120137d2a8973c4dff821836a6
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>
dali/internal/text/text-abstraction/font-client-impl.cpp
dali/internal/text/text-abstraction/font-client-impl.h
dali/internal/text/text-abstraction/font-client-plugin-impl.cpp
dali/internal/text/text-abstraction/font-client-plugin-impl.h
dali/internal/text/text-abstraction/shaping-impl.cpp