Переглянути джерело

Font Manager: adjusted list of supported font types

Marcin Ziąbek 1 рік тому
батько
коміт
45e6218c89
1 змінених файлів з 1 додано та 1 видалено
  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()
         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;
             var executionPath = AppDomain.CurrentDomain.RelativeSearchPath ?? AppDomain.CurrentDomain.BaseDirectory;