Not able to replace MS Gothic with Albany WT K font for Asian character sample document and save as PDF document


Not able to replace MS Gothic with Albany WT K font for Asian Japanese character sample document and save as PDF document.The saved pdf document is not displaying the Japanese characters.

Tested environment: java version “1.7.0_72” and OS linux6 64bit.

PFA of sample documents used here.
Sample:

// Here loading Albany WT K ttf file
FontsLoader.loadExternalFonts(new String[] { “/fonts/albany” });
//Load source font to be replaced
IFontData sourceFont = new FontData(“MS Gothic”);
//Load the replacing font
IFontData destFont = new FontData(“Albany WT K”);
//Replace the fonts
Presentation pres = new Presentation("/tmp/MS Gothic.pptx");
IFontsManager fmgr = pres.getFontsManager();
fmgr.replaceFont(sourceFont, destFont);
pres.save("/tmp/gothic2AlbanyByReplace.pdf", SaveFormat.Pdf);

Hi,


Thank you for considering Aspose.Slides.

I have observed your comments and the files shared by you. I request you to please try using Aspose.Slides for Java 15.6.0 on your end and then share your kind feedback with us so that I may investigate it further on my end once the requested information is shared by you.

Please let us know if the issue persists. We will be happy to assist you further.

Best Regards,

It is also not working with 15.6.0

Hi,

I have observed your requirements and worked with the presentation file shared by you. I have been able to reproduce the issue. A ticket with ID SLIDESJAVA-34961 has been logged in our issue tracking system to further investigate and resolve the issue.This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-34961) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.