I have a pdf document generated from a winword 2007 document
I'm tryint to write two text with different formattings in this document
using (XGraphics gfx = XGraphics.FromPdfPage(page, XGraphicsPdfPageOptions.Append))
{
gfx.DrawString("sss", f1, XBrushes.Black, 20,20);
gfx.DrawString("jjj", f2, XBrushes.Black, 20,20);
}
if f1 is bold and f2 is any other font style, the text rendered is not displayed correcty (the text that I write is ok, but the underlying text is which is not displayed correctly)
|