-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Managed DWrite] Migrate part of DWriteTypeConverter to managed #9902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Managed DWrite] Migrate part of DWriteTypeConverter to managed #9902
Conversation
There was a problem hiding this 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.
...soft.DotNet.Wpf/src/PresentationCore/MS/internal/Text/TextInterface/DWriteTypeConverterEx.cs
Show resolved
Hide resolved
@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
I pulled main to fix the conflicts. |
Codecov ReportAttention: Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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 toDWriteTypeConverterEx
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