Pdf EndofLine/CR/Linefeed

I’m working on a webapp, that load data from a database and generate pdf-reports with xojo standard pdf-features. I’m developing on a Linux Mint 21.3 with xojo 2024R4. Browser is firefox.

Locally, when I run the web-app out of the xojo-ide and let create the pdf’s, all works as expected. But when I deploy the web app (with lifeboat) to a cloud-server (hetzner ubuntu 22.04) in the pdfs the CR/LF does not work and also the “witdth” parameter of pdf.DrawText has no function:

g.DrawText("1) " + sText, 20, 20,200)

For Create a new Lines, I use this code:

sText = sText + EndofLine + sText + EndofLine +sText

I changed this also to EndofLine.Native, EndofLIne.Unix: same results

Results locally and on cloud:

Have you any idea, why this is like that?

Kind regards
Daniel

Maybe you like to make a small test project and report this to Xojo.

There are a couple of known issues. e.g. Xojo measure text size based on a picture, not on the PDF text size. This sometimes causes measurements to be slightly incorrect.

Well, you could use MBS Xojo DynaPDF Plugin instead.