public override void DoLayout()
{
if (Glyphs == null || Glyphs.Count == 0)
{
Width = 0;
return;
}
var w = 0f;
for (int i = 0, j = Glyphs.Count; i < j; i++)
{
var g = Glyphs[i];
g.Renderer = Renderer;
g.DoLayout();
w = Math.Max(w, g.Width);
}
Width = w;
}