File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ private static IEnumerable<GlyphLayout> LayoutLineHorizontal(
407
407
penLocation . Y += yLineAdvance ;
408
408
boxLocation . X = originX ;
409
409
boxLocation . Y += advanceY ;
410
- goto end ;
410
+ return glyphs ;
411
411
}
412
412
413
413
int j = 0 ;
@@ -440,7 +440,6 @@ private static IEnumerable<GlyphLayout> LayoutLineHorizontal(
440
440
boxLocation . Y += advanceY ;
441
441
}
442
442
443
- end :
444
443
return glyphs ;
445
444
}
446
445
@@ -552,7 +551,7 @@ private static IEnumerable<GlyphLayout> LayoutLineVertical(
552
551
boxLocation . Y = originY ;
553
552
penLocation . X += xLineAdvance ;
554
553
penLocation . Y = originY ;
555
- goto end ;
554
+ return glyphs ;
556
555
}
557
556
558
557
int j = 0 ;
@@ -599,7 +598,6 @@ private static IEnumerable<GlyphLayout> LayoutLineVertical(
599
598
penLocation . X += xLineAdvance ;
600
599
}
601
600
602
- end :
603
601
return glyphs ;
604
602
}
605
603
@@ -711,7 +709,7 @@ private static IEnumerable<GlyphLayout> LayoutLineVerticalMixed(
711
709
boxLocation . Y = originY ;
712
710
penLocation . X += xLineAdvance ;
713
711
penLocation . Y = originY ;
714
- goto end ;
712
+ return glyphs ;
715
713
}
716
714
717
715
if ( data . IsTransformed )
@@ -787,7 +785,6 @@ private static IEnumerable<GlyphLayout> LayoutLineVerticalMixed(
787
785
penLocation . X += xLineAdvance ;
788
786
}
789
787
790
- end :
791
788
return glyphs ;
792
789
}
793
790
You can’t perform that action at this time.
0 commit comments