Adaptor - Handle font style correctly in the font controller. 42/24142/1
authorVictor Cebollada <v.cebollada@samsung.com>
Fri, 27 Jun 2014 08:01:03 +0000 (09:01 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 16:06:01 +0000 (17:06 +0100)
commit34f1daaec9e18358c93d8580ba2b77cf51dc1f6c
treeda57c40166baa05ef94447a552a9ee4f266c7b43
parentc5f928932a77be3eba84369626619245a2af7d6f
Adaptor - Handle font style correctly in the font controller.

[problem]      The font controller always retrieves a 'Regular' font style if no font name is given,
               even if a different font style is set (ex: Light) and a valid font for this style exists.
[cause]        If no font name is given, the font controller resets the style to default (which is Regular) as well.
               In general the font controller doesn't handle the font style completely.
[solution]     Fix the handle on font styles inside the font controller.

Change-Id: I879ae3c12d88b32f51ce9c00d667a4948933f2a1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
platform-abstractions/interfaces/font-controller.h
platform-abstractions/slp/data-cache/data-cache-impl.h
platform-abstractions/slp/data-cache/metrics-cache.cpp
platform-abstractions/slp/data-cache/metrics-cache.h
platform-abstractions/slp/data-cache/tests/data-cache-debug.cpp
platform-abstractions/slp/font-platform/font-controller-impl.cpp
platform-abstractions/slp/font-platform/font-controller-impl.h
platform-abstractions/slp/resource-loader/resource-loader.cpp
platform-abstractions/slp/resource-loader/resource-loader.h
platform-abstractions/slp/slp-platform-abstraction.cpp
platform-abstractions/slp/slp-platform-abstraction.h