49ec9fbead9c6ba75763299abe540e73bac2804e
Added a `PdfSharpFontResolver` class to enable font resolution for PdfSharp in .NET 8, addressing the lack of system font access. The resolver reads fonts from the Windows Fonts folder and supports the Arial font family. Registered the resolver globally in `Program.cs` using `GlobalFontSettings.FontResolver`. Updated `Program.cs` with comments explaining the necessity of the resolver for .NET 8. The resolver includes methods to map font family names to specific font files and load font data. Throws a `FileNotFoundException` if required fonts are missing. Made minor formatting changes in `Program.cs` without altering the `SwaggerDoc` description functionality.
Description
No description provided
Languages
JavaScript
86%
C#
6.9%
HTML
2.8%
Visual Basic .NET
2.7%
CSS
1.2%
Other
0.4%