{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/2287","repository_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/2287/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/2287/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/2287/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2287","id":177299357,"number":2287,"title":"Ligature support","user":{"login":"Graucsh","id":22226368,"avatar_url":"https://avatars.githubusercontent.com/u/22226368?v=3","gravatar_id":"","url":"https://api.github.com/users/Graucsh","html_url":"https://github.com/Graucsh","followers_url":"https://api.github.com/users/Graucsh/followers","following_url":"https://api.github.com/users/Graucsh/following{/other_user}","gists_url":"https://api.github.com/users/Graucsh/gists{/gist_id}","starred_url":"https://api.github.com/users/Graucsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graucsh/subscriptions","organizations_url":"https://api.github.com/users/Graucsh/orgs","repos_url":"https://api.github.com/users/Graucsh/repos","events_url":"https://api.github.com/users/Graucsh/events{/privacy}","received_events_url":"https://api.github.com/users/Graucsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-15T21:52:59Z","updated_at":"2016-10-24T22:19:22Z","closed_at":null,"body":"### Description of the Issue\r\nFonts that support ligatures are not drawn with them\r\n\r\n### Steps to Reproduce the Issue\r\n1. Select a font that supports ligatures, such as Fira Code\r\n2. Select a C-based language\r\n3. key in \"!=\"\r\n\r\n### Expected Behavior\r\na long equals sign with a slash through it\r\n\r\n### Actual Behavior\r\ndiscrete characters\r\n\r\n### Suggestion\r\nSet the Technology property of the Scintilla objects to DirectWrite, which draws with ligatures, or provide an option to turn it on.\r\n\r\n![default](https://cloud.githubusercontent.com/assets/22226368/18569157/f666bb42-7b6e-11e6-96e8-cd6b940e3e6d.png)\r\n![directwrite](https://cloud.githubusercontent.com/assets/22226368/18569193/28329178-7b6f-11e6-8013-28223d189218.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/255882700","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2287#issuecomment-255882700","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/2287","id":255882700,"user":{"login":"Graucsh","id":22226368,"avatar_url":"https://avatars.githubusercontent.com/u/22226368?v=3","gravatar_id":"","url":"https://api.github.com/users/Graucsh","html_url":"https://github.com/Graucsh","followers_url":"https://api.github.com/users/Graucsh/followers","following_url":"https://api.github.com/users/Graucsh/following{/other_user}","gists_url":"https://api.github.com/users/Graucsh/gists{/gist_id}","starred_url":"https://api.github.com/users/Graucsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graucsh/subscriptions","organizations_url":"https://api.github.com/users/Graucsh/orgs","repos_url":"https://api.github.com/users/Graucsh/repos","events_url":"https://api.github.com/users/Graucsh/events{/privacy}","received_events_url":"https://api.github.com/users/Graucsh/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T22:19:22Z","updated_at":"2016-10-24T22:19:22Z","body":"I added the following line to void Notepad_plus::loadBufferIntoView(BufferID id, int whichOne, bool dontClose):\r\n::SendMessage(viewToOpen->getHSelf(), SCI_SETTECHNOLOGY, SC_TECHNOLOGY_DIRECTWRITE, 0);\r\n\r\nI realize that's probably not the right place, but I got the following result using the Fira Code font:\r\n\r\n![npp_ligatures](https://cloud.githubusercontent.com/assets/22226368/19666062/31076d1c-9a16-11e6-961d-01dac6ca62df.png)\r\n"}}
{"actor":{"display_login":"Graucsh"}}