@@ -753,6+756,7 @@ Actor AtlasRenderer::Render( Text::ViewInterface& view, int depth )
numberOfGlyphs = view.GetGlyphs( glyphs.Begin(),
positions.Begin(),
numberOfGlyphs = view.GetGlyphs( glyphs.Begin(),
positions.Begin(),
+ alignmentOffset,
0u,
numberOfGlyphs );
0u,
numberOfGlyphs );
@@ -769,7+773,8 @@ Actor AtlasRenderer::Render( Text::ViewInterface& view, int depth )
defaultColor,
colorsBuffer,
colorIndicesBuffer,
defaultColor,
colorsBuffer,
colorIndicesBuffer,
- depth );
+ depth,
+ alignmentOffset );
/* In the case where AddGlyphs does not create a renderable Actor for example when glyphs are all whitespace create a new Actor. */
/* This renderable actor is used to position the text, other "decorations" can rely on there always being an Actor regardless of it is whitespace or regular text. */
/* In the case where AddGlyphs does not create a renderable Actor for example when glyphs are all whitespace create a new Actor. */
/* This renderable actor is used to position the text, other "decorations" can rely on there always being an Actor regardless of it is whitespace or regular text. */