DynaPDF Problem, it cuts some texts

To be shure it was not my project, I Just openned the sample “Create PDF in memory” and replace a single line

call pdf.WriteFText pdf.ktaCenter, "My first Xojo output!"

'Changed to:

Call pdf.WriteFText pdf.ktaCenter, "||1.1|5DD11E34-1248-436E-3547-508DA530F662|2017-113T09:58:40|SAT970701NN3|M739X97eckyN0oVp2osbbV9buwpLRPyB7gMD7BJmwTKOxp9C3cjNLqhVoUYI5uVLJe4aBERsJiPLDY78rEH8VlnXaMpXaDjDhQig55jNpRcDO0Hdd1AsheofdoYBW5LGrZFVwNMYTwPy9B1YAmpk6esi44g/+amE7IMeBKuOg0Rl2DWMQhXLnncvVpn7Q3yk613AfJEDYxR4CxWSyq7THw2gSGfPdvVKzzO1n/EAxvl6tRzqBT4kqKEcrQzzWZI3hh0LUyz6Rk1lgH871l6iMqW4BDMiWzUzbBRzm6gLYN0nYzRrr+v2AzZeKLlmpTSaSz/wqMtL4MSnbRnU1USu3w==|00001000000402457848||"

Sadly it only outputs:
||1.1|5DD11E34-1248-436E-3547-508DA530F662|2017-11

More weird, it works if i add a single space at the end of the string.

Any Idea why is this happening and how to prevent? Its a Bug?

The Other problem is that when using ktaJustify, The first line breaks afther the |2017- (just like in here). Is there a way that the output will be all Justified?

Thanks

The text has no spaces, so justify is not possible.

And I’ll ask Jens what the bug could be with the normal output.
But I don’t see you set text rectangle.

[quote=366833:@Christian Schmitz]The text has no spaces, so justify is not possible.

And I’ll ask Jens what the bug could be with the normal output.
But I don’t see you set text rectangle.[/quote]

As I said, this is just using the example file. In my project i do set the text rectangle with exactly the same result, text truncated at 2017-12-

For now, some ridiculous work around:

Call pdf.WriteFText pdf.ktaJustify, MyLongString + " "

As in the justify, its also weird, In the document, the text is drawn in 9 lines, but the fist one is the only one that is truncated at the midle of the text rectangle. The rest of them are justified.

Also, the are other 2 strings, half the size than this, also no spaces and those are justified (those 2 strings don’t have any - )