Hi,
I represent NCS PTE Ltd (Singapore), we purchased groupdocs total. While testing viewer identified issues with respect to rendering content from pdf.
Please go through the attached file and let us know your feedback on them.
Thanks,
Prem Kumar
Hi Prem,
Thanks for taking interest in GroupDocs.Viewer for Java and showing your concerns. We saw the issue details you shared.
Can you please provide us following information:
- Which version of the API you are using?
- Please share the problematic file with us
We’ll appreciate your coorporation.
Best wishes
Hi Atir,
Thanks for your response.
We are using groupdocs-viewer 3.2.2 version, also attached the problematic PDF in zip file. Please let me know for any further details.
Best Regards
Hi Prem,
We appreciate your cooperation.
We investigated this issue at our end and reproduced successfully using
older version of the API that is 3.2.2. However, if you integrate
latest version of the API that is
3.7.0 in your application/project, you will not face same issues. Hence, we’d recommend you to utilize latest version of the API in your application/project.
Please find the attached screenshots of viewer output.
Kind regards
Hi Prem,
You are welcome.
issue 2 still exists (unable to render special characters in viewer).
We are not facing this issue at our end. Please find the attached output screenshot.
Moreover, we’d recommend you to clear cache and delete temp files of this particular document created in temp folder (GroupDocs.Viewer-for-Java\Showcase\GroupDocs.Viewer-for-Java-using-JSP\storage<b>temp).
Hope it’ll resolve your issue.
Kind regards
Hi Atir,
Thanks for your reply.
I am still facing the same issue (deleted temp data and also cleared browser cache).
Please suggest.
Regards,
Prem Kumar
Hi Atir,
Please go through the attached zip file, which contains our pom.xml (using the same dependency - 3.7.0).
Meanwhile, I will also try to setup the project again.
Thanks,
Prem Kumar
Hi Prem,
POM dependencies seem fine. Please try to setup project again with 3.7.0 version of the API and share your feedback.
Kind regards
Hi Atir,
I have setup the project with 3.7.0 version, still I am facing the same problem - viewer unable to recognize the special characters.
My local setup is as following:
windows 7
maven
java 8
viewer version - 3.7.0
Are any fonts required for it? or we missing anything?
Please advise.
Regards,
Prem Kumar
Hi Prem,
Thanks for providing the details.
Please make sure you enabled embedded resource as follows:
options.setResourcesEmbedded(true);
Moreover, in order to dig down your issue, we need your complete sample project. We’ll investigate that our end.
Kind regards
Hi Atir,
Thanks for your reply.
In getHtmlContent(), already options.setResourcesEmbedded(true); Attached sample project, please let me know your suggestions.
Regards,
Prem Kumar
Hi Prem,
Thanks for sharing the sample project.
We’re investigating your scenario and we’ll get back to you with the outcomes.
We appreciate your patience.
Kind regards
Hi Prem,
We investigated the issues using the provided project. We’re still not able to reproduce it at our end. We are using Jetty Server to run the program/application. Hence, just un-commented the tag in pom.xml file of the provided project.
Kind regards
Hi Atir,
Thanks. Yes ran it using jetty plugin, its rendered without any issues in jetty server.
We will be using groupdocs in different application servers (tomcat in dev, weblogic in uat/prod environments). You can recreate this issue in using tomcat 8.x or 9.x (special characters are not rendered as expected).
Please go through this issue.
Thanks,
Prem Kumar
Hi Atir,
Thanks for your response.
Do you know the timelines when this fix will be available for release? request you to find these details as as this is impacting our development timelines.
Regards,
Prem Kumar
Hi Prem,
We are in contact with the concerned team. As we get any update from them, we’ll notify you.
Best wishes
Hi Prem,
We got an update from the concerned team.
A new release of our JSP showcase project is expected by the end of this month. As the release gets on-board we will apprise you.
Best wishes