Issues in preview functionality

Hi Team

In the web version of my application,I am using a functionality to preview the pdf or jpeg files.But when clicking on "Preview" button,chrome opens the file in new tab but the contents are shown in encrypted form which means it is not supporting the file formats while in internet explorer it is working fine.How to display the pdf files in browser so that "Preview" functionality can work fine?

platform and service studio version-11
web version of application

Solution

Hi Divya,

Chrome pdf previewer has a couple of problems and one is related to fonts. Looks like that is your problem that chrome doesn't render that font correctly. If this is the case a chrome previewer issue there is nothing you can do in your code to fix this. Sometimes there are some stuff that the user can change on their chrome for this to work but other times is  just a bug of chrome previewer and nothing you can do.

Regards,

Marcelo

Solution