Merge pull request #505 from avobelk/fix-fallback-not-found-glyph
fix glyph check in FontFallback.MatchFallbackOption
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user