From 556f87ff25fd3f03607904c5f566db85a269702d Mon Sep 17 00:00:00 2001 From: MarcinZiabek Date: Thu, 15 Sep 2022 21:20:25 +0200 Subject: [PATCH] Settings renaming --- QuestPDF/Drawing/TextShaper.cs | 2 +- QuestPDF/Settings.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QuestPDF/Drawing/TextShaper.cs b/QuestPDF/Drawing/TextShaper.cs index 23ac13f..297c34f 100644 --- a/QuestPDF/Drawing/TextShaper.cs +++ b/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); diff --git a/QuestPDF/Settings.cs b/QuestPDF/Settings.cs index 10776ee..59abc95 100644 --- a/QuestPDF/Settings.cs +++ b/QuestPDF/Settings.cs @@ -35,6 +35,6 @@ /// However, it provides hints that used fonts are not sufficient to produce correct results. /// /// By default, this flag is enabled only when the debugger IS attached. - public static bool CheckIfAllTextGlyphsAreAvailableInSpecifiedFont { get; set; } = System.Diagnostics.Debugger.IsAttached; + public static bool CheckIfAllTextGlyphsAreAvailable { get; set; } = System.Diagnostics.Debugger.IsAttached; } } \ No newline at end of file