Decode base64 to PDF document viewer

0
Hello , I need to pass some special character like C caron in PDF format and view in document viewer, to see that first I encoded and decode the value, but after decoding i got the same encoded value in document viewer.      
asked
1 answers
0

Hi,

To ensure that special characters, such as Č (C Caron), are correctly displayed in PDF documents within your Mendix application, follow these steps:

1. Select an Appropriate Font

Choose a font that supports the special characters you need. Fonts like Arial, Times New Roman, or other Unicode-compatible fonts are suitable options.

2. Embed the Font in the PDF

Embedding the selected font into the PDF ensures consistent rendering across different environments. In Mendix, this involves configuring the fop.xconf file to include your chosen font. Detailed instructions on how to add custom fonts to your Mendix project can be found in the Mendix documentation:

Style | Mendix Documentation

 

By following these steps, you can ensure that special characters are properly displayed in your PDF documents across various platforms.

answered