Conversation
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@v9...v10) --- updated-dependencies: - dependency-name: actions/stale dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 5. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](actions/setup-dotnet@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ctions/setup-dotnet-5 Bump actions/setup-dotnet from 4 to 5
…ctions/stale-10 Bump actions/stale from 9 to 10
--- updated-dependencies: - dependency-name: System.Configuration.ConfigurationManager dependency-version: 9.0.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…e installed on dev machine)
…erToolsExamples/MarkupSimplifierApp/System.Configuration.ConfigurationManager-9.0.9 Bump System.Configuration.ConfigurationManager from 9.0.8 to 9.0.9
--- updated-dependencies: - dependency-name: SkiaSharp dependency-version: 3.119.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…erTools/SkiaSharp-3.119.1 Bump SkiaSharp from 3.119.0 to 3.119.1
--- updated-dependencies: - dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies dependency-version: 3.119.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies dependency-version: 3.119.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…erTools.Tests/multi-f854ee44b5 Bump SkiaSharp.NativeAssets.Linux.NoDependencies from 3.119.0 to 3.119.1
--- updated-dependencies: - dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies dependency-version: 3.119.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…erTools.Tests/SkiaSharp.NativeAssets.Linux.NoDependencies-3.119.1 Bump SkiaSharp.NativeAssets.Linux.NoDependencies from 3.119.0 to 3.119.1
Upgraded several NuGet package versions in both OpenXmlPowerTools and test projects for improved compatibility and analyzer support. Added new PNG diff expectation files for various test cases to the TestFiles directory.
Migrated font metric logic from SixLabors.Fonts to SkiaSharp across the codebase for improved cross-platform compatibility. Added a new FontStyle enum, updated font family and style handling, and removed the SixLabors.Fonts dependency from the project file.
Upgraded DocumentFormat.OpenXml package to version 3.3.0. Updated PowerToolsBlockExtensionsTests to reflect new SDK behavior, where changes made through PowerTools are immediately visible to strongly-typed classes.
The GitHub Actions workflow for dotnet will no longer run on pull request events, only on push events. This simplifies workflow execution and may reduce unnecessary CI runs.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Upgraded dependencies Droped ImageSharp.Fonts dependency
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades various dependencies in the OpenXML PowerTools project and migrates from SixLabors.Fonts to SkiaSharp for font handling. The changes modernize the project's dependencies to their latest versions and introduce a new custom FontStyle enum to replace the SixLabors.Fonts dependency.
- Upgraded multiple NuGet packages including DocumentFormat.OpenXml, SkiaSharp, and test framework dependencies
- Replaced SixLabors.Fonts with SkiaSharp for font operations throughout the codebase
- Updated GitHub Actions workflow versions and removed pull request trigger from CI
Reviewed Changes
Copilot reviewed 12 out of 99 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| MarkupSimplifierApp.csproj | Minor version bump for System.Configuration.ConfigurationManager |
| OpenXmlPowerTools.csproj | Major dependency upgrades including DocumentFormat.OpenXml and SkiaSharp versions |
| PtOpenXmlUtil.cs | Migrated font handling from SixLabors.Fonts to SkiaSharp APIs |
| WmlToHtmlConverter.cs | Updated font family enumeration and font style handling for SkiaSharp |
| MetricsGetter.cs | Replaced SixLabors font measurement with SkiaSharp text measurement |
| HtmlToWmlConverterCore.cs | Updated font family detection to use SkiaSharp font manager |
| FontStyle.cs | New custom FontStyle enum to replace SixLabors.Fonts dependency |
| PowerToolsBlockExtensionsTests.cs | Updated test expectations for OpenXML SDK 3.3.0 behavior changes |
| OpenXmlPowerTools.Tests.csproj | Upgraded test framework and related package versions |
| WmlToHtmlConverterTests.cs | Minor comment correction |
| stale.yml | Updated GitHub Actions stale action version |
| dotnet.yml | Updated setup-dotnet action version and removed pull request trigger |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.