Missing symbols in PdfProcessing

Product Version Product Author
2020.1.218 PdfProcessing Dimitar Karamfilov

Problem

This can happen when the characters cannot be found in a specific font. In this case, the RadPdfProcessing either falls back to another font or draws nothing.

Solution

To ensure that these symbols are available you need to embed a font that contains them to the document.

var fontData = File.ReadAllBytes(@"..\..\SegoeUI.ttf"); 
FontsRepository.RegisterFont(new FontFamily("Segoe UI"), FontStyles.Normal, FontWeights.Normal, fontData); 
 
FontBase font; 
FontsRepository.TryCreateFont(new FontFamily("Segoe UI"), FontStyles.Normal, FontWeights.Normal, out font); 
In this article
Not finding the help you need? Improve this article