Hi, all!
I want to split many pdf documents to many pdf, but merge them by page size.
and i have a problem with fonts. in my screan pdf documet looks good, but when i print it some of font looks bad on paper (look attach).
how can i copy from input documents all fonts? Or what i can do, to solve this problem?
I try different printers and different computers. from the original file this paper printed ok.
Code:
foreach (string file in FileList)
{
PdfDocument doc = PdfReader.Open(file, PdfDocumentOpenMode.Import);
for (int i = 0; i < doc.Pages.Count; i++)
{
var page = doc.Pages[i];
int height = (int)page.Height.Millimeter;
int width = (int)page.Width.Millimeter;
string fName = height + "x" + width;
string fullFilePath = path + "\\" + textBox1.Text + "\\" + fName + ".pdf";
PdfDocument ndoc;
try
{
ndoc = PdfReader.Open(fullFilePath, PdfDocumentOpenMode.Modify);
}
catch
{
ndoc = new PdfDocument();
}
PdfPage inpage = ndoc.AddPage(page);
ndoc.Save(fullFilePath);
}
}
}
PdfPage inpage = ndoc.AddPage(page);
ndoc.Save(fullFilePath);
when I try attach pdf file "forum" tell me :"its a invalid image" (((
Please, Help. name of font: "G OldStyle TType A".
this problem where with other fonts, but not all.