Explorar o código

Settings renaming

MarcinZiabek %!s(int64=3) %!d(string=hai) anos
pai
achega
556f87ff25
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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;
                 yOffset += glyphPositions[i].YAdvance * scaleY;
             }
             }
 
 
-            if (Settings.CheckIfAllTextGlyphsAreAvailableInSpecifiedFont)
+            if (Settings.CheckIfAllTextGlyphsAreAvailable)
                 CheckIfAllGlyphsAreAvailable(glyphs, text);
                 CheckIfAllGlyphsAreAvailable(glyphs, text);
             
             
             return new TextShapingResult(glyphs);
             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.
         /// However, it provides hints that used fonts are not sufficient to produce correct results.
         /// </summary>
         /// </summary>
         /// <remarks>By default, this flag is enabled only when the debugger IS attached.</remarks>
         /// <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;
     }
     }
 }
 }