diff --git a/Source/QuestPDF/Elements/Text/FontFallback.cs b/Source/QuestPDF/Elements/Text/FontFallback.cs index 69bf6e2..c7aefd3 100644 --- a/Source/QuestPDF/Elements/Text/FontFallback.cs +++ b/Source/QuestPDF/Elements/Text/FontFallback.cs @@ -86,7 +86,12 @@ namespace QuestPDF.Elements.Text return fallbackOption; } - throw CreateNotMatchingFontException(codepoint); + if (Settings.CheckIfAllTextGlyphsAreAvailable) + { + throw CreateNotMatchingFontException(codepoint); + } + + return fallbackOptions.First(); } static Exception CreateNotMatchingFontException(int codepoint)