{"id":451,"date":"2017-12-30T19:33:36","date_gmt":"2017-12-30T18:33:36","guid":{"rendered":"http:\/\/pusling.com\/blog\/?p=451"},"modified":"2017-12-30T19:46:22","modified_gmt":"2017-12-30T18:46:22","slug":"aubergine-playing-with-emoji","status":"publish","type":"post","link":"https:\/\/pusling.com\/blog\/?p=451","title":{"rendered":"Aubergine &#8211; Playing with emoji"},"content":{"rendered":"<p>Playing with emojis<\/p>\n<p>At some point, I needed to copy paste emojis, but couldn&#8217;t find a good way to do it. So what does a good hacker do?<br \/>\nScratch an own itch.  As I <a href=\"\/blog\/?p=230\">wrote<\/a> about in the past, all these projects should be shared with the rest of the world.<br \/>\nSo here it is: <a href=\"https:\/\/cgit.kde.org\/scratch\/sune\/aubergine.git\/\">https:\/\/cgit.kde.org\/scratch\/sune\/aubergine.git\/<\/a><\/p>\n<p>It looks like this with the symbola font for emojis: <img decoding=\"async\" src=\"https:\/\/i.imgur.com\/Okf1oF3.png\" alt=\"Screenshot\" \/><\/p>\n<p>It basically lets you search for emojis by their description, and by clicking on a emoji, it gets inserted into the clipboard.<\/p>\n<p>As such, I&#8217;m not sure the application is really interesting, but there might be two interesting bits in the source code:<\/p>\n<ul>\n<li>A parser for the unicode data text files in <tt>\/usr\/share\/unicode\/NamesList.txt<\/tt> is placed in lib\/parser.{h,cpp}<\/li>\n<li>A class that tries to expose QClipboard as QML objects placed in app\/clipboard.{h,cpp}. I&#8217;m not yet sure if this is the right approach for that, but it is the one that currently makes most sense in my mind. If I&#8217;m receiving proper feedback, I might be able to extend\/finish it and submit it to Qt.<\/li>\n<\/ul>\n<p>And of course, now it is simple to describe fancy cooking:<\/p>\n<p>\u00f0\u0178\u008d\u2020 \u00f0\u0178\u201d\u00aa \u00f0\u0178\u201d\u00a5<br \/>\n(aubergine) (hocho) (fire)<\/p>\n<p>I \u00e2\u009d\u00a3 emoji<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Playing with emojis At some point, I needed to copy paste emojis, but couldn&#8217;t find a good way to do it. So what does a good hacker do? Scratch an own itch. As I wrote about in the past, all these projects should be shared with the rest of the world. So here it is: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,10,11],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-english","category-kde","category-pocket-projects","category-qt"],"_links":{"self":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=451"}],"version-history":[{"count":3,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":455,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions\/455"}],"wp:attachment":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}