{"action":"created","issue":{"url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout/issues/56","repository_url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout","labels_url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout/issues/56/comments","events_url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout/issues/56/events","html_url":"https://github.com/ralfstuckert/pdfbox-layout/issues/56","id":314309321,"number":56,"title":"Underline, Strikethrough not working in pdfboxlayout2 while using content stream ","user":{"login":"bijoybaby","id":37431181,"avatar_url":"https://avatars3.githubusercontent.com/u/37431181?v=4","gravatar_id":"","url":"https://api.github.com/users/bijoybaby","html_url":"https://github.com/bijoybaby","followers_url":"https://api.github.com/users/bijoybaby/followers","following_url":"https://api.github.com/users/bijoybaby/following{/other_user}","gists_url":"https://api.github.com/users/bijoybaby/gists{/gist_id}","starred_url":"https://api.github.com/users/bijoybaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bijoybaby/subscriptions","organizations_url":"https://api.github.com/users/bijoybaby/orgs","repos_url":"https://api.github.com/users/bijoybaby/repos","events_url":"https://api.github.com/users/bijoybaby/events{/privacy}","received_events_url":"https://api.github.com/users/bijoybaby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-14T08:00:55Z","updated_at":"2018-04-25T12:58:45Z","closed_at":null,"author_association":"NONE","body":"While using pdfbox pagecontentstream, the markups like underline and strikethrough is not working \r\n\r\ntry (PDPageContentStream contentStream = new PDPageContentStream(document, page, AppendMode.APPEND, true,\r\n\t\t\t\ttrue)) {\r\nParagraph paragraph = new Paragraph();\r\nString str = \"You can alternate the position\\n  and thickness of an __underline__, \\n so you may also use this \\nto __{0.25:}strike through__ \\n\\n\"\r\nparagraph.drawText(contentStream, position, txtAlignment, null);\r\ncontentStream.close();\r\n}"},"comment":{"url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout/issues/comments/384277264","html_url":"https://github.com/ralfstuckert/pdfbox-layout/issues/56#issuecomment-384277264","issue_url":"https://api.github.com/repos/ralfstuckert/pdfbox-layout/issues/56","id":384277264,"user":{"login":"arnthom","id":38218082,"avatar_url":"https://avatars3.githubusercontent.com/u/38218082?v=4","gravatar_id":"","url":"https://api.github.com/users/arnthom","html_url":"https://github.com/arnthom","followers_url":"https://api.github.com/users/arnthom/followers","following_url":"https://api.github.com/users/arnthom/following{/other_user}","gists_url":"https://api.github.com/users/arnthom/gists{/gist_id}","starred_url":"https://api.github.com/users/arnthom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnthom/subscriptions","organizations_url":"https://api.github.com/users/arnthom/orgs","repos_url":"https://api.github.com/users/arnthom/repos","events_url":"https://api.github.com/users/arnthom/events{/privacy}","received_events_url":"https://api.github.com/users/arnthom/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T12:58:45Z","updated_at":"2018-04-25T12:58:45Z","author_association":"NONE","body":"Try paragraph.addMarkup to add the string to the paragraph"}}
{"actor":{"display_login":"arnthom"}}