Hi,
When converting a DOCX to PDF, I noticed the font in the header got changed.
Code:
var doc = new Document(@"\test.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save(@"\out.pdf");
In the output PDF file, the font colour and size were changed for the text on the 2nd page header. The issue doesn’t happen when saving the DOCX to PDF manually using Office ‘save as’ feature.
I’ve attached the test files, font files and a screenshot for your reference. Could you please help me check this?
image.png (25.2 KB)
test.zip (160.2 KB)
Thanks,