title | description | type | page_title | slug | position | tags | res_type |
---|---|---|---|---|---|---|---|
Missing symbols in PdfProcessing |
Learn how you can deal with missing symbols in PDF document when exported with PdfProcessing. |
how-to troubleshooting |
Missing symbols in PdfProcessing |
missing-symbols-in-pdf |
0 |
pdf, umlaut, symbol |
kb |
Product Version | Product | Author |
---|---|---|
2020.1.218 | PdfProcessing | Dimitar Karamfilov |
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.
To ensure that these symbols are available you need to embed a font that contains them to the document.
{{region kb-missing-symbols-in-pdf1}}
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);
{{endregion}}