-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f09644e
commit b7dfb7f
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) Six Labors. | ||
// Licensed under the Six Labors Split License. | ||
|
||
using SixLabors.Fonts; | ||
using SixLabors.ImageSharp.Drawing.Processing; | ||
|
||
namespace SixLabors.ImageSharp.Drawing.Tests.Issues; | ||
|
||
public class Issue_332 | ||
{ | ||
[Fact] | ||
public void CanAccessEmptyRichTextRuns() | ||
{ | ||
Font font = TestFontUtilities.GetFont(TestFonts.OpenSans, 70); | ||
RichTextOptions options = new(font); | ||
Assert.Empty(options.TextRuns); | ||
} | ||
} |