# PDF::Writer add\_text\_wrap

**URL:** <https://www.ruby-forum.com/t/pdf-writer-add-text-wrap/134304>\
**Category:** Rails\
**Created:** [April 9, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/pdf-writer-add-text-wrap/134304 "2008-04-09T18:11:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keaja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/838e76/32.png) [@keaja](https://www.ruby-forum.com/u/keaja)\
**Post date:** [April 9, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/pdf-writer-add-text-wrap/134304/1 "2008-04-09T18:11:00Z")

</div>

Wondering if anyone else had problems with the add\_text\_wrap of the  
pdf-writer gem? I have something that looks like the following below,  
but it does not wrap down to the next line, it just either runs off  
the page or stops before the page, depending on the width of the  
text\_wrap. Anyone have any ideas?

@additional\_items = @user.additional\_items  
pdf.add\_text\_wrap(310, 605, 300, @additional\_items, 8)
