Parcourir la source

Font Manager: adjusted list of supported font types

Marcin Ziąbek il y a 1 an
Parent
commit
45e6218c89
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Source/QuestPDF/Drawing/FontManager.cs

+ 1 - 1
Source/QuestPDF/Drawing/FontManager.cs

@@ -74,7 +74,7 @@ namespace QuestPDF.Drawing
         
         private static void RegisterLibraryDefaultFonts()
         {
-            var supportedFontExtensions = new[] { ".ttf", ".otf", ".ttc", ".pfb", ".woff", ".woff2" };
+            var supportedFontExtensions = new[] { ".ttf", ".otf", ".ttc", ".pfb" };
 
             var executionPath = AppDomain.CurrentDomain.RelativeSearchPath ?? AppDomain.CurrentDomain.BaseDirectory;