Skip to content

[Managed DWrite] Migrate FontFileEnumerator to managed #10523

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ThomasGoulet73
Copy link
Contributor

@ThomasGoulet73 ThomasGoulet73 commented Feb 28, 2025

Contributes to #5305

Description

Migrate DWrite FontFileEnumerator to managed.

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 build + CI + I tested a few apps that uses custom fonts to test this code path.

Risk

Low. For the most part, it is a copy of the C++ code manually rewritten to C# with as little changes as possible.

Microsoft Reviewers: Open in CodeFlow

@ThomasGoulet73 ThomasGoulet73 requested review from a team as code owners February 28, 2025 05:27
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Feb 28, 2025
@ThomasGoulet73
Copy link
Contributor Author

@JeremyKuhne: Would you be interested in reviewing this ?

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

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

Project coverage is 10.94044%. Comparing base (2b923a8) to head (b28fdf8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10523         +/-   ##
===================================================
- Coverage   11.11073%   10.94044%   -0.17029%     
===================================================
  Files           3215        3216          +1     
  Lines         648472      648502         +30     
  Branches       71534       71535          +1     
===================================================
- Hits           72050       70949       -1101     
- Misses        575427      576559       +1132     
+ Partials         995         994          -1     
Flag Coverage Δ
Debug 10.94044% <0.00000%> (-0.17029%) ⬇️

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

Copy link
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.

The transliteration looks good.

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 PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants