Embedding Fonts in DOC to PDF conversion
There is the ability to generate a PDF document with embedded fonts (that was used in Word document)?
Hi Claudio,
Thank you for your interest in Syncfusion Products.
At present we do not have support for Embedding Font during Doc to PDF conversion.
We have already created a Feature Request “Need to embed font in PDF during Doc to PDF conversion”.
We will let you know once the feature is implemented.
Please let us know if you have any concern.
Karthikeyan.C
There is the ability to generate a PDF document with embedded fonts (that was used in Word document)?
Thank you for using Syncfusion products,
As we mentioned earlier we don’t have support for “Embedding Font during Doc to PDF conversion.”, whereas as a workaround you can able to achieve this, for this you need to create a pdf document with PdfA1b standard. I have attached a code snippet for your reference please check through it and let us know if there is any concerns.
Code snippet:
WordDocument wordDoc = new WordDocument("wordDocument.doc");
DocToPDFConverter converter = new DocToPDFConverter();
//Creates a new document with PDF/A standard.
PdfDocument pdfDoc = new PdfDocument(PdfConformanceLevel.Pdf_A1B);
pdfDoc = converter.ConvertToPDF(wordDoc);
pdfDoc.Save("Sample.pdf");
pdfDoc.Close();
Thanks,
Karthik.
We couldn’t able to reproduce the issue with “Font doesn’t change while embedding fonts in doc to pdf”, I have attached a screen shoot and output pdf document in which all the fonts are embedded. Can you please provide us the input document for which the issue occurs so that we can investigate further in this, please let us know if you have any concerns.
Sample Link:
http://www.syncfusion.com/downloads/support/forum/110376/ze/Report_document-286978616
Thanks,
Karthik.
I send you the template word document and the generated PDF document. The family fonts of the template word document are Calibri and Bell MT and the font of the pdf document is only Calibri
Attachment: issue_embedding_fonts_doc_to_pdf_cb812284.zip
We were able to reproduce the problem and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any questions.
Regards,
Sivasubramani
Same Problem here.
Your example didn't work for me.
PdfDocument pdfDoc = new PdfDocument(PdfConformanceLevel.Pdf_A1B);
pdfDoc = converter.ConvertToPDF(wordDoc);
I think the ConvertToPDF call will replace the pdfDoc created with the PdfA1b Format.
Do you have a working example, with the conversion to a PdfAib file?
Cheers
Jani Giannoudis
Thanks for the working example.
However, there seems to be a state within the Syncfusion library with the PDF Conformance Level.
It would be much clearer, adding the PdfConformanceLevel to the DocToPDFConverterSettings class.
Thanks again
Jani
Thank you for your update.
DocToPDFConverterSettings class also have API for setting the PDFConformancelevel to embed the fonts in Word to PDF conversion. We have modified the sample by setting the PDFConformancelevel using DocToPDFConverterSettings class API. Please find the modified sample from the following link:
http://www.syncfusion.com/downloads/support/forum/110376/ze/EmbedFont_Modified_Sample-1803632859.zip
Let us know if you have any concern.
Regards,
Vijay R
Seems to be new in Essential Studio File Formats v14. Property is available after upgrading from v13 to v14.
Thanks for the great support!
Cheers
Jani
Thank you for your feedback.
Regards,
Vijay R
Hi Jani,
Thank you for your feedback.
Regards,
Vijay R
Hi,
I got the same problem unable to extract the embedded font from the pdf file.
I use Syncfusion.DocToPDFConverter and tried the given solution PdfConformanceLevel.Pdf_A1B;
Is there a working solution for this Problem?
Thank you!
- 15 Replies
- 9 Participants
-
AT ABLE Tech srl
- Jul 31, 2013 01:44 PM UTC
- Oct 25, 2016 10:25 AM UTC