ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.08k stars 237 forks source link

Support for Windows fonts inside %LOCALAPPDATA% #267

Closed MichelMichels closed 2 years ago

MichelMichels commented 2 years ago

Windows does not install fonts in C:\Windows\Fonts as default location anymore. Instead, the fonts get copied to %LOCALAPPDATA%\Microsoft\Windows\Fonts.

This PR also checks this folder (if it exists) to include the fonts in the default FontResolver.

ststeiger commented 2 years ago

Merged.