Fix the life cicle of the FcCharSet objects. 24/200324/2
authorVictor Cebollada <v.cebollada@samsung.com>
Tue, 19 Feb 2019 16:12:34 +0000 (16:12 +0000)
committerVíctor Cebollada <v.cebollada@samsung.com>
Mon, 25 Feb 2019 11:24:46 +0000 (11:24 +0000)
commit8bf7e144171f8b3f3d882af05b05f8554537e5b9
tree26bfeae2687a600e2cb116a2ca86dd6218d94f94
parenta588a60f8808b305babc5a94664bfa1b59cdc930
Fix the life cicle of the FcCharSet objects.

* Pointer to this objects were kept in the caches
  without taking care too much of the FcPattern objects
  that hold them.
  The fon client increases now the reference counter of
  these objects when they are stored in the caches.

* The new mFontIdCache, mPixelBufferCache, mEmbeddedItemCache
  and mBitmapFontCache caches were not cleared in the
  ClearCache() method.

[Model] Gear Watch Designer
[BinType]
[Customer]
[Issue#]
[Request]
[Occurrence Version]
[Problem]
[Cause & Measure] As described above.
[Checking Method]
[Team] SRUK
[Developer] Victor Cebollada
[Solution company] Samsung
[Change Type]

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