Thomas Hoevel wrote:
Hi!
I made some tests today.
It seems this is not a bug.
Just pass true as first parameter to this function:
Code:
PdfDocumentRenderer renderer = new PdfDocumentRenderer(true, PdfSharp.Pdf.PdfFontEmbedding.Always);
If you pass false here, the document will be created using the ANSI font (codepage 1252 or ISO 8859-1) and characters not available will be mapped to the plain character without diacritical mark.
And what about using Migradoc in PdfSharp,
when I try mixing PdfSharp and Migradoc, can I still set this somehow ?
Code:
DocumentRenderer docRenderer = new DocumentRenderer(document);
docRenderer.PrepareDocument();
docRenderer.RenderPage(gfx, 1);
because diacritics like č or ř are removed.