PDF::Writer centered text in the middle of the page


I am trying to generate a PDF File with a centered text in the middle of
the page.

I have tryed to use the add_text and add_text_wrapped methods, but the
text either not fitting in the page, or the text is truncated.

Maybe I am not using correctly the API correctly ?

Thank you for your help


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs