{"id":233,"date":"2010-04-01T20:54:51","date_gmt":"2010-04-01T19:54:51","guid":{"rendered":"http:\/\/www2.apebox.org\/wordpress\/?p=233"},"modified":"2015-01-12T00:04:36","modified_gmt":"2015-01-12T00:04:36","slug":"introducing-larval-editor","status":"publish","type":"post","link":"https:\/\/apebox.org\/wordpress\/linux\/233","title":{"rendered":"Introducing Larval Editor"},"content":{"rendered":"<p>In my last post, about GRUB2 theming, there were a few people who were unhappy at the perceived difficulty of creating GRUB2 themes, largely based on the lack of documentation. And to be honest, those people are right &#8211; if the documentation were complete &amp; correct when I started, then I wouldn&#8217;t have ended up bumping into all the bugs I did. So, to help on that front &#8211; and to help kick-start GRUB2 theming in general, I&#8217;m announcing Larval. More GRUB2 themes means more awesome-looking systems in the wild. Hopefully the GRUB2 upstream will embrace it as a project to help raise the profile and potential of GRUB2.<\/p>\n<p>It didn&#8217;t take me long to realise the most obvious way to develop such an editor: GRUB2&#8217;s canvas-based layout system has an awful lot in common with XAML, so the obvious choice was to develop using Silverlight (or, more specifically, Gtk.Moonlight). Larval&#8217;s internal theme format is XAML files, which are then exported to (and imported from) GRUB2&#8217;s simple text based files.<\/p>\nngg_shortcode_0_placeholder\n<p>The biggest piece of work, to be honest, is the Managed implementation of a PF2 font reader\/writer, so you can design a theme using the regular TrueType fonts of your choice, then have them automatically ported to PF2 format as required.<\/p>\n<p>I look forward to plenty of community input on Larval, once it reaches a point where I&#8217;m sufficiently pleased with my (Ms-PL licensed) code to share it with the world. Until then, you&#8217;ll have to make do with the above screenshot!<\/p>\n<p>[Edit: If it wasn&#8217;t obvious, this was mostly an April Fool. Mostly. I DID knock together a Gtk.Moonlight UI, and I *DO* think it&#8217;s a good idea. But there&#8217;s no code, and no real desire to write the required amount of cruft]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last post, about GRUB2 theming, there were a few people who were unhappy at the perceived difficulty of creating GRUB2 themes, largely based on the lack of documentation. And to be honest, those people are right &#8211; if the documentation were complete &amp; correct when I started, then I wouldn&#8217;t have ended up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[19,28,40],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian","tag-mono","tag-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2qJco-3L","_links":{"self":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/comments?post=233"}],"version-history":[{"count":1,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts\/233\/revisions"}],"predecessor-version":[{"id":1150,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts\/233\/revisions\/1150"}],"wp:attachment":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/media?parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/categories?post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/tags?post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}