{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/5998","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5998/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5998/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5998/events","html_url":"https://github.com/mozilla/pdf.js/pull/5998","id":74994723,"number":5998,"title":"Don't map glyphs to certain problematic Thai/Lao Unicode locations (issue 5994)","user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/4-font-conversion","name":"4-font-conversion","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-10T20:20:56Z","updated_at":"2015-06-05T20:32:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/5998","html_url":"https://github.com/mozilla/pdf.js/pull/5998","diff_url":"https://github.com/mozilla/pdf.js/pull/5998.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/5998.patch"},"body":"*This patch depends on PR #5990.*\r\n\r\nAccording to https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/hb-ot-shape-fallback.cc#38, certain Thai/Lao characters are treated as special by the font shaping code in Firefox.\r\nFurther down in that file, https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/hb-ot-shape-fallback.cc#216, the vertical position of glyphs is modified, which should thus explain why some glyphs end up in the wrong position in the PDF file.\r\n\r\nFixes #5994.\r\n\r\n~~**TODO:** Add a reduced test-case (once I manage to create one that works).~~"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/109432056","html_url":"https://github.com/mozilla/pdf.js/pull/5998#issuecomment-109432056","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5998","id":109432056,"user":{"login":"brendandahl","id":942640,"avatar_url":"https://avatars.githubusercontent.com/u/942640?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandahl","html_url":"https://github.com/brendandahl","followers_url":"https://api.github.com/users/brendandahl/followers","following_url":"https://api.github.com/users/brendandahl/following{/other_user}","gists_url":"https://api.github.com/users/brendandahl/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandahl/subscriptions","organizations_url":"https://api.github.com/users/brendandahl/orgs","repos_url":"https://api.github.com/users/brendandahl/repos","events_url":"https://api.github.com/users/brendandahl/events{/privacy}","received_events_url":"https://api.github.com/users/brendandahl/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T20:32:55Z","updated_at":"2015-06-05T20:32:55Z","body":"/botio test"}}