{"action":"created","issue":{"url":"https://api.github.com/repos/galkahana/HummusJS/issues/106","repository_url":"https://api.github.com/repos/galkahana/HummusJS","labels_url":"https://api.github.com/repos/galkahana/HummusJS/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/galkahana/HummusJS/issues/106/comments","events_url":"https://api.github.com/repos/galkahana/HummusJS/issues/106/events","html_url":"https://github.com/galkahana/HummusJS/issues/106","id":179823705,"number":106,"title":"writeText on Multiple Lines","user":{"login":"kevincollins7","id":8030553,"avatar_url":"https://avatars.githubusercontent.com/u/8030553?v=3","gravatar_id":"","url":"https://api.github.com/users/kevincollins7","html_url":"https://github.com/kevincollins7","followers_url":"https://api.github.com/users/kevincollins7/followers","following_url":"https://api.github.com/users/kevincollins7/following{/other_user}","gists_url":"https://api.github.com/users/kevincollins7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincollins7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincollins7/subscriptions","organizations_url":"https://api.github.com/users/kevincollins7/orgs","repos_url":"https://api.github.com/users/kevincollins7/repos","events_url":"https://api.github.com/users/kevincollins7/events{/privacy}","received_events_url":"https://api.github.com/users/kevincollins7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-28T16:36:19Z","updated_at":"2016-11-02T19:48:18Z","closed_at":"2016-10-30T05:47:01Z","body":"I'm receiving data from a text area in a form and writing it to my PDF. Unfortunately if the text area contains a lot of text it all writes to only the one line and anything that doesn't fit is cut off. Is there a simple way of having Hummus wrap the long string onto a new line if it reaches the end of the page?\n\nRight now I'm just using .writeText -\n\n`.writeText(\n  myLongString,\n  50, 645\n)`\n"},"comment":{"url":"https://api.github.com/repos/galkahana/HummusJS/issues/comments/257978265","html_url":"https://github.com/galkahana/HummusJS/issues/106#issuecomment-257978265","issue_url":"https://api.github.com/repos/galkahana/HummusJS/issues/106","id":257978265,"user":{"login":"galkahana","id":271847,"avatar_url":"https://avatars.githubusercontent.com/u/271847?v=3","gravatar_id":"","url":"https://api.github.com/users/galkahana","html_url":"https://github.com/galkahana","followers_url":"https://api.github.com/users/galkahana/followers","following_url":"https://api.github.com/users/galkahana/following{/other_user}","gists_url":"https://api.github.com/users/galkahana/gists{/gist_id}","starred_url":"https://api.github.com/users/galkahana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galkahana/subscriptions","organizations_url":"https://api.github.com/users/galkahana/orgs","repos_url":"https://api.github.com/users/galkahana/repos","events_url":"https://api.github.com/users/galkahana/events{/privacy}","received_events_url":"https://api.github.com/users/galkahana/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T19:48:18Z","updated_at":"2016-11-02T19:48:18Z","body":"As a note, In another project  I once implemented line breaking with BIDI text. \r\nI'll provide a pointer here to where in the code this starts happening:\r\n\r\nhttps://github.com/galkahana/hummusrenderrer/blob/master/hummusrenderer.js#L639"}}
{"actor":{"display_login":"galkahana"}}