1
以下のコードでは、二重引用符の前後のテキストが重複しています。それはフォントの選択に関連しているようですが、私はそれを変更することができないかもしれません。MigraDocイタリックテキストオーバーラップ
文字間の幅を広げる方法やプロパティはありますか?またはいくつかの回避策ですか?
Document document = new Document();
Section section = document.AddSection();
Paragraph paragraph = section.AddParagraph();
Font _fontTimes14Italic = new Font("Times New Roman", "14pt") { Italic = true };
paragraph.AddFormattedText("This is a test \"The Broken\" should display incorrectly", _fontTimes14Italic);
PdfDocumentRenderer renderer = new PdfDocumentRenderer(true,
PdfSharp.Pdf.PdfFontEmbedding.Always);
renderer.Document = document;
renderer.RenderDocument();
renderer.PdfDocument.Save(filePath);