Hello,
We are using regions in order do start paragraphs with big letters : we write the first big letter in a box, and put a region so regular text don't go under it.
Then, we set back the X/Y position to where it was in order to have the text start at the top bog that big letter.
This works smoothly most of the time, but has odd behaviors sometime. As of now, I'm trying to make a small test case.
Here are three screenshots :
The difference between example 1 and 2/3 is that the first one has no particular left margin, while in the later we start the text in a second column -> there is an extra box on the left.
I'm available for any test / debug, I'll send a proper test case if I manage to get a small/clean one.
Thanks for the help !
Solved our problem by only calling setY instead of setXY.
SetXY was putting back the position which was used before adding that big letter (top left of the box) - so in our case setY was sufficient.
There is something strange happening though, as it should work.
Anyway, hope this bug report can at least help someone facing a similar issues with boxes :)
OK. closing this as it is not a bug.
I found a workaround to my problem, but I don't think what I saw was an expected behavior :
Setting the cursor in any place shouldn't lead to the result (colliding text) as seen in the provided screenshot when using regions, no ?