1) Below is Street 1 address entered by customer & displaying in invoice pdf :
I am getting Street 1 address in Custom pdf. but its displaying in single line.
2) My custom Pdf :
its not displaying complete Street 1 address.
Restrict Number of charactars & words in single line so that complete street address will display in multiple lines.
$page->drawText($shippingAddress->getStreet(1) , 20, $page->getHeight()-240);