Hello Team,
Hello Priya,
Document
doc = new Document(dataDir + “input.pdf”);<o:p></o:p>
// Iterate through all the pages
for (com.aspose.pdf.Page page : (Iterable) doc.getPages()) {
if (page.getResources().getFonts() != null) {
for (com.aspose.pdf.Font pageFont : (Iterable) page.getResources().getFonts()) {
System.out.println(pageFont.getFontName());
ByteArrayOutputStream dstStream = new ByteArrayOutputStream();
pageFont.save(dstStream);
}
}
}
Hi Team,
Is there any new update?
Thanks & Regards,
priyanga G
Thanks for your inquiry.
We have implemented the method getType()
in the class com.aspose.pdf.Font
, but for getting font encoding, we need additional investigation. Our product team will further investigate the feasibility of the feature and as soon as we have some new on its availability, we will let you know. Please spare us little time.
We are sorry for the inconvenience.