浏览代码

Settings renaming

MarcinZiabek 3 年之前
父节点
当前提交
556f87ff25
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      QuestPDF/Drawing/TextShaper.cs
  2. 1 1
      QuestPDF/Settings.cs

+ 1 - 1
QuestPDF/Drawing/TextShaper.cs

@@ -56,7 +56,7 @@ namespace QuestPDF.Drawing
                 yOffset += glyphPositions[i].YAdvance * scaleY;
             }
 
-            if (Settings.CheckIfAllTextGlyphsAreAvailableInSpecifiedFont)
+            if (Settings.CheckIfAllTextGlyphsAreAvailable)
                 CheckIfAllGlyphsAreAvailable(glyphs, text);
             
             return new TextShapingResult(glyphs);

+ 1 - 1
QuestPDF/Settings.cs

@@ -35,6 +35,6 @@
         /// However, it provides hints that used fonts are not sufficient to produce correct results.
         /// </summary>
         /// <remarks>By default, this flag is enabled only when the debugger IS attached.</remarks>
-        public static bool CheckIfAllTextGlyphsAreAvailableInSpecifiedFont { get; set; } = System.Diagnostics.Debugger.IsAttached;
+        public static bool CheckIfAllTextGlyphsAreAvailable { get; set; } = System.Diagnostics.Debugger.IsAttached;
     }
 }