{"id":3186,"date":"2013-11-12T23:28:33","date_gmt":"2013-11-12T23:28:33","guid":{"rendered":"http:\/\/www.readytext.co.uk\/?p=3186"},"modified":"2014-06-01T16:05:12","modified_gmt":"2014-06-01T16:05:12","slug":"more-progress-with-harfbuzzluatex","status":"publish","type":"post","link":"https:\/\/www.readytext.co.uk\/?p=3186","title":{"rendered":"More progress with HarfBuzz\/LuaTeX (update)"},"content":{"rendered":"<p>Just a short post to share another example from my on-going work on HarfBuzz\/LuaTeX. A rather pointless example &ndash; without using any code to correctly place mark glyphs (e.g., vowels) &ndash; showing randomly coloured Arabic glyphs. Thanks to the power of HarfBuzz and the superb Lua C API (especially C closures and &#8220;for loop&#8221; iterators) the code to process the Arabic text is about 25 lines of Lua script.<\/p>\n<p>Source of text for typesetting example: BBC Arabic. I don&#8217;t know what the text says but Google Translate indicated it was neither controversial or offensive &ndash; I hope that is the case!<\/p>\n<p><a href=\"http:\/\/readytext.co.uk\/files\/colouredarabic.pdf\">Download PDF<\/a><\/p>\n<p><iframe src=\"https:\/\/docs.google.com\/gview?url=http:\/\/readytext.co.uk\/files\/colouredarabic.pdf&#038;embedded=true\" style=\"width:100%; height:300px;\" frameborder=\"0\"><\/iframe><\/p>\n<h2>Update<\/h2>\n<p>Just to add an example with mark glyph positioning and random colours. Vowel positioning added about 10 lines of Lua script :-).<\/p>\n<p><a href=\"http:\/\/readytext.co.uk\/files\/colouredshapedvowels.pdf\">Download PDF<\/a><\/p>\n<p><iframe src=\"https:\/\/docs.google.com\/gview?url=http:\/\/readytext.co.uk\/files\/colouredshapedvowels.pdf&#038;embedded=true\" style=\"width:100%; height:600px;\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a short post to share another example from my on-going work on HarfBuzz\/LuaTeX. A rather pointless example &ndash; without using any code to correctly place mark glyphs (e.g., vowels) &ndash; showing randomly coloured Arabic glyphs. Thanks to the power of HarfBuzz and the superb Lua C API (especially C closures and &#8220;for loop&#8221; iterators) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,15,3,29,16],"tags":[],"class_list":["post-3186","post","type-post","status-publish","format-standard","hentry","category-arabic","category-examples","category-luatex","category-post-about-about-fonts-glyphs-and-characters","category-typesetting-and-algorithms"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3186"}],"version-history":[{"count":13,"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3186\/revisions"}],"predecessor-version":[{"id":3347,"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3186\/revisions\/3347"}],"wp:attachment":[{"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.readytext.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}