private static CustomTextSource4 CreateCustomTextSource4(
            TextSourceInitializationParameters p)
        {
            var customTextSource4 =
                CommonText.CreateAndInitTextSource(p.PixelsPerDip, p.Tf,
                                                   p.Tree, p.Node0,
                                                   p.Compilation, p.EmSize0, p.DebugFn);

            customTextSource4.CurrentRendering = FontRendering.CreateInstance(p.EmSize0,
                                                                              TextAlignment.Left,
                                                                              new TextDecorationCollection(), Brushes.Black, p.Tf);

            return(customTextSource4);
        }
 /// <inheritdoc />
 public CustomTextSource4 InnerUpdate(MainUpdateParameters mainUpdateParameters,
                                      TextSourceInitializationParameters textSourceInitializationParameters)
 {
     return(CommonText.InnerUpdateAsync(mainUpdateParameters,
                                        () => CreateCustomTextSource4(textSourceInitializationParameters)));
 }