Several tables on the same page with shrimp

I use shrimp to create pdf and everything works fine, but now I have a problem. When I put several tables on one page, they simply overlap each other, not one another. This is normal behavior and what can I do with it?

I am adding tables about the most normal btw behavior :)

Thank!

+3
source share
1 answer

What is the code you use to create a pdf using shrimp?

, " " / . , . . bounding_box() :

> pdf.bounding_box([100,500], :width => 100, :height => 300) do
>   pdf.text "This text will flow in a very narrow box starting" +
>     "from [100,500]. The pointer will then be moved to [100,200]" +
>     "and return to the margin_box"
> end
+2

Source: https://habr.com/ru/post/1734536/


All Articles