Browse Source

Enable SKPaint.IsAntialias in FontManager.

Bebo-Maker 3 years ago
parent
commit
82e39df572
1 changed files with 2 additions and 1 deletions
  1. 2 1
      QuestPDF/Drawing/FontManager.cs

+ 2 - 1
QuestPDF/Drawing/FontManager.cs

@@ -67,7 +67,8 @@ namespace QuestPDF.Drawing
                 {
                 {
                     Color = SKColor.Parse(style.Color),
                     Color = SKColor.Parse(style.Color),
                     Typeface = GetTypeface(style),
                     Typeface = GetTypeface(style),
-                    TextSize = style.Size ?? 12
+                    TextSize = style.Size ?? 12,
+                    IsAntialias = true,
                 };
                 };
             }
             }