@@ -879,7 +879,7 @@ public void CanDrawTextVertical2<TPixel>(TestImageProvider<TPixel> provider)
879879 {
880880 LayoutMode = LayoutMode . VerticalLeftRight ,
881881 LineSpacing = 1.4F ,
882- // TextRuns = new[] { new RichTextRun() { Start = 0, End = text.GetGraphemeCount(), TextDecorations = TextDecorations.Underline | TextDecorations.Strikeout | TextDecorations.Overline } }
882+ TextRuns = [ new RichTextRun ( ) { Start = 0 , End = text . GetGraphemeCount ( ) , TextDecorations = TextDecorations . Underline | TextDecorations . Strikeout | TextDecorations . Overline } ]
883883 } ;
884884
885885 provider . RunValidatingProcessorTest (
@@ -903,7 +903,7 @@ public void CanDrawTextVerticalMixed<TPixel>(TestImageProvider<TPixel> provider)
903903 WrappingLength = 400 ,
904904 LayoutMode = LayoutMode . VerticalMixedLeftRight ,
905905 LineSpacing = 1.4F ,
906- TextRuns = new [ ] { new RichTextRun ( ) { Start = 0 , End = text . GetGraphemeCount ( ) , TextDecorations = TextDecorations . Underline | TextDecorations . Strikeout | TextDecorations . Overline } }
906+ TextRuns = [ new RichTextRun ( ) { Start = 0 , End = text . GetGraphemeCount ( ) , TextDecorations = TextDecorations . Underline | TextDecorations . Strikeout | TextDecorations . Overline } ]
907907 } ;
908908
909909 provider . RunValidatingProcessorTest (
@@ -919,7 +919,7 @@ public void CanDrawTextVerticalMixed2<TPixel>(TestImageProvider<TPixel> provider
919919 if ( SystemFonts . TryGet ( "Yu Gothic" , out FontFamily fontFamily ) )
920920 {
921921 Font font = fontFamily . CreateFont ( 30F ) ;
922- const string text = "あいうえお、「こんにちはー」。もしもし。ABCDEFGg 日本語" ;
922+ const string text = "あいうえお、「こんにちはー」。もしもし。ABCDEFG 日本語" ;
923923 RichTextOptions textOptions = new ( font )
924924 {
925925 LayoutMode = LayoutMode . VerticalMixedLeftRight ,
0 commit comments