Skip to content

Commit 8507f95

Browse files
Remove double origin assignment
1 parent b054d68 commit 8507f95

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/ImageSharp.Drawing/ImageSharp.Drawing.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta15.20" />
24-
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.4" />
23+
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta15.23" />
24+
<PackageReference Include="SixLabors.ImageSharp" Version="2.0.0-alpha.0.123" />
2525
</ItemGroup>
2626

2727
<Import Project="..\..\shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems" Label="Shared" />

src/ImageSharp.Drawing/Shapes/Text/TextBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class TextBuilder
1919
/// <returns>The <see cref="IPathCollection"/></returns>
2020
public static IPathCollection GenerateGlyphs(string text, TextOptions textOptions)
2121
{
22-
GlyphBuilder glyphBuilder = new(textOptions.Origin);
22+
GlyphBuilder glyphBuilder = new();
2323
TextRenderer renderer = new(glyphBuilder);
2424

2525
renderer.RenderText(text, textOptions);

tests/ImageSharp.Drawing.Tests/ConfigurationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class ConfigurationTests
2020

2121
public Configuration DefaultConfiguration { get; }
2222

23-
private readonly int expectedDefaultConfigurationCount = 5;
23+
private readonly int expectedDefaultConfigurationCount = 7;
2424

2525
public ConfigurationTests()
2626
{

0 commit comments

Comments
 (0)