Skip to content

[Managed DWrite] Migrate part of DWriteTypeConverter to managed#9902

Open
ThomasGoulet73 wants to merge 3 commits intodotnet:mainfrom
ThomasGoulet73:managed-dwrite-DWriteTypeConverter
Open

[Managed DWrite] Migrate part of DWriteTypeConverter to managed#9902
ThomasGoulet73 wants to merge 3 commits intodotnet:mainfrom
ThomasGoulet73:managed-dwrite-DWriteTypeConverter

Conversation

@ThomasGoulet73
Copy link
Copy Markdown
Contributor

@ThomasGoulet73 ThomasGoulet73 commented Oct 5, 2024

Contributes to #5305

Description

Migrate part of DWriteTypeConverter to managed. I also removed some dead code from my previous Managed DWrite PR. I changed the name of DWriteTypeConverter in PresentationCore to DWriteTypeConverterEx because it conflicted with the one in DirectWriteForwarder.

Customer Impact

It might be faster and should allow better support of trimming and the support of NativeAOT once everything is migrated to C#.

Regression

No.

Testing

Local testing.

Risk

Low.

Microsoft Reviewers: Open in CodeFlow

JeremyKuhne
JeremyKuhne previously approved these changes Oct 29, 2024
Copy link
Copy Markdown
Member

@JeremyKuhne JeremyKuhne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Hopefully in a few weeks we'll have CsWin32 and xunit support in place which will make changes like this possible without pre-emptive test passes.

@ThomasGoulet73
Copy link
Copy Markdown
Contributor Author

@JeremyKuhne Do you mind reviewing #6260 as well ? It's in the same vein.

…ite-DWriteTypeConverter

# Conflicts:
#	src/Microsoft.DotNet.Wpf/src/PresentationCore/PresentationCore.csproj
@ThomasGoulet73
Copy link
Copy Markdown
Contributor Author

I pulled main to fix the conflicts.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 22, 2025

Codecov Report

Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Project coverage is 11.54831%. Comparing base (b6914d7) to head (6c75c72).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main       #9902         +/-   ##
===================================================
+ Coverage   11.45872%   11.54831%   +0.08959%     
===================================================
  Files           3214        3215          +1     
  Lines         648458      648476         +18     
  Branches       71511       71514          +3     
===================================================
+ Hits           74305       74888        +583     
+ Misses        572989      572337        -652     
- Partials        1164        1251         +87     
Flag Coverage Δ
Debug 11.54831% <0.00000%> (+0.08959%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution A label for all community Contributions Included in test pass PR metadata: Label to tag PRs, to facilitate with triage Status:Completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants