Stop using hb_buffer_set_invisible_glyph when Shape
Fix: Emoji character with VS15 at the end of line produces noise
hb_buffer_set_invisible_glyph has been used to solve the invisible unicodes like U+FE0F and U+FE0E.
They should be replaced by zero width glyph.
i.e: This text "☪️️️☪️" should be rendered as two adjacent glyphs.
But, using this function with ZWS produce a noise (un-wanted glyph) when compine "Negative Squared Latin Capital Letter" with U+FE0E at the end of line.
i.e: Like this text "🅰︎"
Using hb_buffer_set_invisible_glyph has been stopped because the original issue was resolved by other modifications.
Maybe the optimization code has resolved the original issue.
Sample code:
std::string textAtoE = "🅰︎";
TextLabel textLabel01 = TextLabel::New(textAtoE);
textLabel01.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
textLabel01.SetProperty(Dali::Actor::Property::POSITION, Vector2(10, 40));
textLabel01.SetProperty(Dali::Toolkit::TextLabel::Property::ENABLE_MARKUP, true);
textLabel01.SetProperty(Dali::Toolkit::TextLabel::Property::MULTI_LINE, true);
textLabel01.SetProperty(Dali::Toolkit::TextLabel::Property::ELLIPSIS, false);
Also try, to make sure there is not extra spaces
std::string textAtoE = "🅰️️️🅰︎";
Change-Id: I6750ff0f3f80f329e5ca3c3d921903809a97748e