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