Rendering inconsistencies across platforms

Hi,


We're experiencing issues regarding margins and fonts when we generate a PDF on Mac, Windows and Ubuntu.

On Windows the rendering is the worst, with the most margin issues, macOS and Ubuntu render best with the least of issues, see attached.

On Ubuntu, we've installed libgdiplus, as per requirement for FR.

I thought PDF would be an universal format, what could be the cause for this misbehavement?

I've attached a sample solution as well.


Kr,

Maarten

Comments

  • Anyone?

  • Almost a year later and we managed to solve this issue ourselves.

    We ran Fast Reports in an Ubuntu docker container (6.0-focal), in order to iron-out the inconsistencies, we needed to install libgdiplus and some fonts:


    # Install GDIPlus for rendering

    RUN apt-get update && apt-get install -y libgdiplus

    # Install Fonts for FRX

    RUN apt-get install -y ttf-mscorefonts-installer fontconfig

    RUN fc-cache -f


    You're welcome

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.