Skip to content

Commit ed1b3ee

Browse files
Merge pull request #358 from SixLabors/js/v4-refs-update
Update references
2 parents 316fb2e + 9460a97 commit ed1b3ee

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ jobs:
7171

7272
steps:
7373
- name: Install libgdi+, which is required for tests running on ubuntu
74-
if: ${{ matrix.options.os == 'buildjet-4vcpu-ubuntu-2204-arm' }}
75-
run: sudo apt-get -y install libgdiplus libgif-dev libglib2.0-dev libcairo2-dev libtiff-dev libexif-dev
74+
if: ${{ contains(matrix.options.os, 'ubuntu') }}
75+
run: |
76+
sudo apt-get update
77+
sudo apt-get -y install libgdiplus libgif-dev libglib2.0-dev libcairo2-dev libtiff-dev libexif-dev
7678
7779
- name: Git Config
7880
shell: bash

src/ImageSharp.Drawing/ImageSharp.Drawing.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp.drawing\sixlabors.imagesharp.drawing.128.png" Pack="true" PackagePath="" />
4646
</ItemGroup>
4747
<ItemGroup>
48-
<PackageReference Include="SixLabors.Fonts" Version="2.0.9" />
49-
<PackageReference Include="SixLabors.ImageSharp" Version="4.0.0-alpha.0.18" />
48+
<PackageReference Include="SixLabors.Fonts" Version="2.1.3" />
49+
<PackageReference Include="SixLabors.ImageSharp" Version="4.0.0-alpha.0.26" />
5050
</ItemGroup>
5151
<Import Project="..\..\shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems" Label="Shared" />
5252
</Project>

src/ImageSharp.Drawing/Processing/Processors/Drawing/FillPathProcessor{TPixel}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected override void OnFrameApply(ImageFrame<TPixel> source)
5656
}
5757

5858
// Align start/end positions.
59-
Rectangle interest = Rectangle.Intersect(this.bounds, source.Bounds());
59+
Rectangle interest = Rectangle.Intersect(this.bounds, source.Bounds);
6060
if (interest.Equals(Rectangle.Empty))
6161
{
6262
return; // No effect inside image;

src/ImageSharp.Drawing/Processing/Processors/Drawing/FillProcessor{TPixel}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public FillProcessor(Configuration configuration, FillProcessor definition, Imag
2626
/// <inheritdoc/>
2727
protected override void OnFrameApply(ImageFrame<TPixel> source)
2828
{
29-
Rectangle interest = Rectangle.Intersect(this.SourceRectangle, source.Bounds());
29+
Rectangle interest = Rectangle.Intersect(this.SourceRectangle, source.Bounds);
3030
if (interest.Width == 0 || interest.Height == 0)
3131
{
3232
return;

tests/ImageSharp.Drawing.Tests/Drawing/Text/DrawTextOnImageTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public void FontShapesAreRenderedCorrectly_LargeText<TPixel>(
269269
string str = Repeat(" ", 78) + "THISISTESTWORDSTHISISTESTWORDSTHISISTESTWORDSTHISISTESTWORDSTHISISTESTWORDS";
270270
sb.Append(str);
271271

272-
string newLines = Repeat("\r\n", 31);
272+
string newLines = Repeat("\r\n", 61);
273273
sb.Append(newLines);
274274

275275
for (int i = 0; i < 10; i++)

0 commit comments

Comments
 (0)