<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>George Wright's Blog: LinuxConf Europe, WebKit and NX</title>
    <link>http://blog.gwright.org.uk/articles/2007/09/05/linuxconf-europe-webkit-and-nx</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Random bloggings of a clearly disturbed KDE geek</description>
    <item>
      <title>LinuxConf Europe, WebKit and NX</title>
      <description>&lt;p&gt;The last few days played host to &lt;a href="http://www.linuxconf.eu/2007"&gt;LinuxConf Europe 2007&lt;/a&gt; in Cambridge. All of us at the &lt;a href="http://www.collabora.co.uk"&gt;Collabora&lt;/a&gt; Cambridge office went along and Rob and Alp both gaves talks about Telepathy and WebKit respectively.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.atoker.com/blog/2007/09/05/webkitgtk-at-linuxconf-europe-2007/"&gt;Alp&amp;#8217;s talk&lt;/a&gt; was the more interesting one for me as I&amp;#8217;ve been working with him on WebKit/GTK+ for the past month or so. My current project is getting full context zooming support into WebKit/GTK+; that is, an implementation of zooming akin to Apple&amp;#8217;s Safari capabilities on the iPhone. &lt;/p&gt;

&lt;p&gt;These days we&amp;#8217;d rather scale the entire page, including graphics and tables, in a unified fashion rather than resize the text and then try to fit the CSS/images around it. So far the implementation has proved troublesome, due to my lack of familiarity with the WebKit codebase, but I&amp;#8217;ve managed to get an implementation working. It now nicely scales the entire graphics context properly using Cairo&amp;#8217;s context scaling methods, which means that vector graphics are scaled vectorially (including fonts), and raster graphics are scaled with bilinear filtering. The end result is something like this:&lt;/p&gt;

&lt;div align="center"&gt;
&lt;a href="http://vm.gwright.org.uk/images/images/WebKit/zoomed.png"&gt;
&lt;img src="http://vm.gwright.org.uk/images/resize.php?file=images/WebKit/zoomed.png&amp;width=434&amp;height=300"&lt;/img&gt;
&lt;/a&gt;&lt;br /&gt;
WebKit showing The Dot at a scale factor of 2.0 in both directions
&lt;/div&gt;

&lt;p&gt;The zooming implementation is pretty much complete except for a couple of bugs which need to be ironed out before I can mark the patch for review, but if you&amp;#8217;re interested, keep an eye on &lt;a href="http://bugs.webkit.org/show_bug.cgi?id=14998"&gt;this bug&lt;/a&gt; at the WebKit Bugzilla. &lt;/p&gt;

&lt;p&gt;Work to be done now will be to improve the performance of the rendering as our current implementation doesn&amp;#8217;t use a backing store so we&amp;#8217;re re-rendering the entire viewport every time something happens, such as a scroll event, which is clearly not optimal.&lt;/p&gt;

&lt;p&gt;And now back to the world of NX. I met a chap at LinuxConf who was hacking on my &lt;a href="http://svn.berlios.de/viewcvs/freenx/nxclientlib"&gt;NX client library&lt;/a&gt; for a series of thin clients his company was developing. The thing I&amp;#8217;m most excited about, though, is that he&amp;#8217;s working on a GTK frontend, and so has fulfilled my original objective for my client library to be used cross-toolkit. &lt;/p&gt;

&lt;p&gt;In doing so, he has done many things I have had on my TODO list for a while, including removing the QtCore code and replacing with STL C++ - something which is probably better in the long run for everyone. It seems to also connect to NoMachine NX version 3 servers, which I haven&amp;#8217;t tested, but is a nice feature. He has also worked on exporting the client library through a D-Bus API, which is fantastic as it means it is now truly compatible with many different languages and toolkits. There is still some ironing out to do but once that&amp;#8217;s done it will be available in &lt;a href="http://svn.berlios.de/viewcvs/freenx/"&gt;FreeNX&amp;#8217;s subversion repository&lt;/a&gt;. His version also has a buildsystem which wasn&amp;#8217;t cobbled together in five minutes, which I&amp;#8217;m sure a lot of packagers will be very glad to hear!&lt;/p&gt;</description>
      <pubDate>Wed, 05 Sep 2007 17:05:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:6b017072-4570-4e52-904b-76135c6dc4b5</guid>
      <author>gwright@kde.org (George Wright)</author>
      <link>http://blog.gwright.org.uk/articles/2007/09/05/linuxconf-europe-webkit-and-nx</link>
    </item>
    <item>
      <title>"LinuxConf Europe, WebKit and NX" by Seb James</title>
      <description>&lt;p&gt;Just committed nxcl to the freenx repo. I managed to remove boost signals, so it is now a more respectable 180k of sources which builds into a 100k library and a 40k executable.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Sep 2007 14:20:41 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:ec92eb4b-f25a-489f-b0a1-05d3738354c0</guid>
      <link>http://blog.gwright.org.uk/articles/2007/09/05/linuxconf-europe-webkit-and-nx#comment-304</link>
    </item>
  </channel>
</rss>

