Hi,
It seems that I'm having the opposite problem to the one mentioned at 
viewtopic.php?uid=6957&f=2&t=584.
I'm trying to create a PDF where there is a raster image underneath the vector graphics, but the fonts from the original PDF are not copied to the output document. I've tried both approaches - see the simplified snippets:
Code:
XPdfForm form = XPdfForm.FromFile(filename);
PdfDocument outputDocument = new PdfDocument();
PdfPage page = outputDocument.AddPage();
XGraphics gfx = XGraphics.FromPdfPage(page);
XImage image = XImage.FromFile(gifSamplePath);
gfx.DrawImage(image, x, y);
gfx.DrawImage(form, box);
outputDocument.Save(filename);
as well as
Code:
PdfDocument inputDocument = PdfReader.Open(filename, PdfDocumentOpenMode.Import);
PdfDocument outputDocument = new PdfDocument();
PdfPage page = inputDocument.Pages[0];
outputDocument.AddPage(page);
outputDocument.Save(filename);
How can I make sure the fonts are copied to the output document?
Thanks in advance,
Mirek