{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/275","labels_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/275/comments","events_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/275/events","html_url":"https://github.com/Kozea/WeasyPrint/issues/275","id":112684296,"number":275,"title":"text being truncated when rendering with @page{} style set.","user":{"login":"alandmoore","id":474830,"avatar_url":"https://avatars.githubusercontent.com/u/474830?v=3","gravatar_id":"","url":"https://api.github.com/users/alandmoore","html_url":"https://github.com/alandmoore","followers_url":"https://api.github.com/users/alandmoore/followers","following_url":"https://api.github.com/users/alandmoore/following{/other_user}","gists_url":"https://api.github.com/users/alandmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/alandmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandmoore/subscriptions","organizations_url":"https://api.github.com/users/alandmoore/orgs","repos_url":"https://api.github.com/users/alandmoore/repos","events_url":"https://api.github.com/users/alandmoore/events{/privacy}","received_events_url":"https://api.github.com/users/alandmoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T21:36:26Z","updated_at":"2015-10-22T10:30:55Z","closed_at":null,"body":"OS is Debian Jessie 64-bit, using weasyprint 0.24 in a Python 3.4 virtualenv.  All python dependencies installed with pip, C libraries are just default versions from the repositories.\r\n\r\nThe following html:\r\n```\r\n<html>\r\n\t<head>\r\n\t\t<style>\r\n\t\t@page {\r\n\t\t\tsize: letter;\r\n\t\t\tmargin: .5in;\r\n\t\t\tpadding: 0;\r\n\t\t}\r\n\t\t</style>\r\n\t</head>\r\n\t<body>\r\n\t\t\t<p>\r\n\t\t\t\tAlice thought the whole thing very absurd, but they all looked so grave that she did not dare to laugh; and, as she could not think of anything to say, she simply bowed, and took the thimble, looking as solemn as she could.\t\t\r\n\t\t\t</p>\r\n\t</body>\r\n</html>\r\n```\r\ngenerates a pdf file as seen here: http://i.imgur.com/sdBEKpK.png .  As you can see, the text is trunctated in various ways.  If I remove the `@page{}` section of the CSS, the truncation doesn't occur.\r\n\r\nI cannot reproduce this on an Arch linux system, which could mean that it's something to do with Debian's binary packages, but compiling versions of harfbuzz and libpango from Debian Sid did not make any difference in the problem.\r\n\r\nI can provide the pdf if needed, github would not allow me to attach it.\r\n\r\n\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/comments/150174399","html_url":"https://github.com/Kozea/WeasyPrint/issues/275#issuecomment-150174399","issue_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/275","id":150174399,"user":{"login":"liZe","id":952243,"avatar_url":"https://avatars.githubusercontent.com/u/952243?v=3","gravatar_id":"","url":"https://api.github.com/users/liZe","html_url":"https://github.com/liZe","followers_url":"https://api.github.com/users/liZe/followers","following_url":"https://api.github.com/users/liZe/following{/other_user}","gists_url":"https://api.github.com/users/liZe/gists{/gist_id}","starred_url":"https://api.github.com/users/liZe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liZe/subscriptions","organizations_url":"https://api.github.com/users/liZe/orgs","repos_url":"https://api.github.com/users/liZe/repos","events_url":"https://api.github.com/users/liZe/events{/privacy}","received_events_url":"https://api.github.com/users/liZe/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T10:30:55Z","updated_at":"2015-10-22T10:30:55Z","body":"It's probably related to #233. Debian Jessie provides Cairo 1.14.0, and Arch 1.14.2."}}