{"action":"created","issue":{"url":"https://api.github.com/repos/gsautter/goldengate-imagine/issues/16","repository_url":"https://api.github.com/repos/gsautter/goldengate-imagine","labels_url":"https://api.github.com/repos/gsautter/goldengate-imagine/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/gsautter/goldengate-imagine/issues/16/comments","events_url":"https://api.github.com/repos/gsautter/goldengate-imagine/issues/16/events","html_url":"https://github.com/gsautter/goldengate-imagine/issues/16","id":194437901,"number":16,"title":"font decoding: Th bug","user":{"login":"myrmoteras","id":4609956,"avatar_url":"https://avatars.githubusercontent.com/u/4609956?v=3","gravatar_id":"","url":"https://api.github.com/users/myrmoteras","html_url":"https://github.com/myrmoteras","followers_url":"https://api.github.com/users/myrmoteras/followers","following_url":"https://api.github.com/users/myrmoteras/following{/other_user}","gists_url":"https://api.github.com/users/myrmoteras/gists{/gist_id}","starred_url":"https://api.github.com/users/myrmoteras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myrmoteras/subscriptions","organizations_url":"https://api.github.com/users/myrmoteras/orgs","repos_url":"https://api.github.com/users/myrmoteras/repos","events_url":"https://api.github.com/users/myrmoteras/events{/privacy}","received_events_url":"https://api.github.com/users/myrmoteras/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-08T20:36:19Z","updated_at":"2016-12-09T16:51:52Z","closed_at":"2016-12-09T16:51:52Z","body":"@gsautter Th is often wrongly decoded\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4609956/21026739/45560418-bd8e-11e6-9416-7ff24519f365.png)\r\n![image](https://cloud.githubusercontent.com/assets/4609956/21026773/70772708-bd8e-11e6-8229-015ba15b1c8a.png)\r\n\r\nI will add some more publications when I come along.\r\n\r\n[AM52_38_49.pdf](https://github.com/gsautter/goldengate-imagine/files/640538/AM52_38_49.pdf)\r\n"},"comment":{"url":"https://api.github.com/repos/gsautter/goldengate-imagine/issues/comments/266062890","html_url":"https://github.com/gsautter/goldengate-imagine/issues/16#issuecomment-266062890","issue_url":"https://api.github.com/repos/gsautter/goldengate-imagine/issues/16","id":266062890,"user":{"login":"gsautter","id":5789714,"avatar_url":"https://avatars.githubusercontent.com/u/5789714?v=3","gravatar_id":"","url":"https://api.github.com/users/gsautter","html_url":"https://github.com/gsautter","followers_url":"https://api.github.com/users/gsautter/followers","following_url":"https://api.github.com/users/gsautter/following{/other_user}","gists_url":"https://api.github.com/users/gsautter/gists{/gist_id}","starred_url":"https://api.github.com/users/gsautter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsautter/subscriptions","organizations_url":"https://api.github.com/users/gsautter/orgs","repos_url":"https://api.github.com/users/gsautter/repos","events_url":"https://api.github.com/users/gsautter/events{/privacy}","received_events_url":"https://api.github.com/users/gsautter/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T16:51:52Z","updated_at":"2016-12-09T16:51:52Z","body":"Found a solution: Not sure if you ever tried it, but for a week or so GGI now has had the option to load a PDF with glyph decoding _disabled_ (\"PDF Documents (born-digital, render embedded fonts, but do not decode glyphs)\"), which incurs whatever Unicode mapping present to simply be used without double-checking. It's nice and fast, but leaves the oddballs as they are (at the risk of having to correct them later).\r\n\r\nWhat can prevent one character from being decoded to its proper Unicode counterpart can prevent another (our notorious out-of-Unicode \"Th\" ligature) from having its faithful Unicode mapping overwritten with whichever single Unicode character fits best.\r\n\r\nThe particular mechanism I've added now is that any character that Unicode maps to a known \"custom\" (i.e., out-of-Unicode, but factually used) ligature gets exempted from further decoding procedures. Works like a charm in case of out \"Th\", but might well prevent some errors from being corrected in some other cases I can imagine, though have never seen. So be warned: If you some day see some character turn up as a \"Th\" that actually is none, it's to blame on this very mechanism. Always two sides to this kind of coin ..."}}
{"actor":{"display_login":"gsautter"}}