I embeded font that used OpenTypeFont class to pdf document.
But the font found in Adobe Reader's properties is not OTF.
this is my sample code.
string fontPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Fonts);
OpenTypeFont font = new OpenTypeFont(System.IO.Path.Combine(fontPath, "arial.ttf"));
Embeded TTF Font with OpenTypeFont class has seen as TTF font in acrobat professional.
How can I embed TTF font as OpenTypeFont?
What is OpenTypeFont class?
Re: What is OpenTypeFont class?
Support · Mar 17, 2020Hello,
The OpenTypeFont is a class name in DynamicPDF Generator which is used to add a custom OTF or TTF font to a PDF. This will not convert a TTF to OTF. The font types will be added as is to the PDF. You can refer to documentation on the OpenTypeFont class here
.
Thanks,
ceTe Software Support Team