Skip to content

Commit bcea187

Browse files
Merge pull request #438 from SixLabors/js/fix-line-break
Rewrite Line Breaker.
2 parents e8d71d4 + 62920ee commit bcea187

File tree

70 files changed

+1508
-336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1508
-336
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ jobs:
155155
if: failure()
156156
with:
157157
name: actual_output_${{ runner.os }}_${{ matrix.options.framework }}${{ matrix.options.runtime }}.zip
158-
path: tests/Images/ActualOutput/
158+
path: |
159+
tests/Images/ActualOutput/
160+
**/msbuild.binlog
159161
160162
- name: Codecov Update
161163
uses: codecov/codecov-action@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ paket-files/
254254
*.sln.iml
255255
/samples/DrawWithImageSharp/Output
256256

257+
# Tests
258+
**/Images/ActualOutput
257259
/tests/CodeCoverage/OpenCover.*
258260
SixLabors.Shapes.Coverage.xml
259261
/SixLabors.Fonts.Coverage.xml

ci-build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dotnet clean -c Release
88
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY"
99

1010
# Building for a specific framework.
11-
dotnet build -c Release -f $targetFramework /p:RepositoryUrl=$repositoryUrl
11+
dotnet build -c Release -f $targetFramework /p:RepositoryUrl=$repositoryUrl -bl

src/SixLabors.Fonts/SixLabors.Fonts.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
<PropertyGroup>
2020
<Nullable>enable</Nullable>
2121
<WarningsAsErrors>Nullable</WarningsAsErrors>
22+
23+
<!--Temporarily disable the COM analyzer to work around build issue.-->
24+
<NoWarn>$(NoWarn);IL2050;</NoWarn>
2225
</PropertyGroup>
2326

2427
<PropertyGroup>

src/SixLabors.Fonts/TextLayout.cs

Lines changed: 224 additions & 212 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)