[3.0] FontClient - Fix font selection issues. 81/144181/3
authorVictor Cebollada <v.cebollada@samsung.com>
Tue, 15 Aug 2017 14:57:49 +0000 (15:57 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Thu, 17 Aug 2017 13:34:11 +0000 (14:34 +0100)
commit0204f857007ff87c272855bc791f7f6a4bc23609
treea83c6bbfe654a3978c13f9a8980c87d06df0fa19
parent4cfc615dc18d64bb4662cd0f22bd2cf773ba3f53
[3.0] FontClient - Fix font selection issues.

* Fix for scalable/color fonts.
  Before this patch it was assumed that a font with fixed
  glyph's sizes  was a color font. Wrong!
  A scalable non color font may have fixed sizes as well.
  As a result of this some glyphs were missing.

* Fix the issue when a font doesn't support all the glyphs
  of a script.
  i.e a font validated for the CJK script may contain
  glyphs for the chinese language but not for the
  Japanese.
  Some glyph's bitmaps failed to be retrieved showing
  squares instead of the actual glyph.

  The font's character set is cached and a new
  IsCharacterSupportedByFont() method has been added to
  query if a character is supported.

Change-Id: I804cfa83fafd0ae7c1e199af48c6f728740816c2
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
text/dali/devel-api/text-abstraction/font-client.cpp
text/dali/devel-api/text-abstraction/font-client.h
text/dali/internal/text-abstraction/font-client-helper.cpp
text/dali/internal/text-abstraction/font-client-helper.h
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