<?xml version="1.0"?>
<rss version="2.0.">
  <channel>
    <title>Advogato blog for pjrm</title>
    <link>http://www.advogato.org/person/pjrm/</link>
    <description>Advogato blog for pjrm</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Wed, 9 Jul 2008 05:00:41 GMT</pubDate>
    <item>
      <pubDate>Tue, 10 Jul 2007 04:37:51 GMT</pubDate>
      <title>10 Jul 2007</title>
      <link>http://www.advogato.org/person/pjrm/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/pjrm/diary.html?start=2</guid>
      <description>Currently working on reducing differences between three&#xD;
recent related codebases to do with text layout:&#xD;
&lt;ul&gt;&#xD;
&lt;li&gt;&lt;p&gt;Table layouter: choose column widths &amp;amp; row&#xD;
heights that make a table fairly compact, which tends to&#xD;
make the table look nicer and easier to read.&#xD;
&lt;li&gt;&lt;p&gt;Text-in-shape: Have text that flows around figures,&#xD;
even if those figures are non-rectangular.  Uses&#xD;
whole-document optimal line-breaking.  Allows making the&#xD;
text ~exactly fit into the available space (like you want in&#xD;
a newspaper or magazine) by finding the value of some &amp;ldquo;size&amp;rdquo;&#xD;
parameter that controls how big the text is relative to the&#xD;
available space: which might increase the size of the&#xD;
figures, font size, leading, move some of the figures&#xD;
further into the text, or whatever the designer wants.  (We&#xD;
haven't written a gui for specifying complex&#xD;
parameterizations, just the software for finding the&#xD;
parameter value for given text.)&#xD;
&lt;li&gt;&lt;p&gt;Optimal float placement in multi-column documents. &#xD;
I.e. placing each float (figure, table, sidebar or the like)&#xD;
so that it's near the text that refers to it, while&#xD;
satisfying some layout constraints notably including&#xD;
&amp;ldquo;doesn't overlap other floats&amp;rdquo;.  (The fact that floats (and&#xD;
text) can't overlap each other is what gives the problem its&#xD;
computational complexity.)&#xD;
&lt;/ul&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;Each of these uses some subset of XHTML as its input&#xD;
format, but with different capabilities depending on what&#xD;
was important or difficult for each project:&#xD;
&lt;ul&gt;&#xD;
&lt;li&gt;The table code has very limited facilities for styling&#xD;
text, and the input document must consist solely of a single&#xD;
table.&#xD;
&lt;li&gt;Neither the text-in-shape code nor the multicolumn&#xD;
float-placement code handle tables.  (Nor does the table&#xD;
code handle cells containing a nested table.)&#xD;
&lt;li&gt;The multicolumn float-placement code recently acquired&#xD;
support for a CSS stylesheet (using &lt;a href="http://www.advogato.org/proj/libcroco/" &gt;libcroco&lt;/a&gt;)&#xD;
and simple support for bullets.&#xD;
&lt;/ul&gt;&#xD;
&lt;p&gt;So I'm now reducing differences between the codebases of&#xD;
these three: it would be nice if all of them supported CSS&#xD;
and all of them supported tables and all of them supported&#xD;
paragraph shaping like bullets, and so on.&#xD;
</description>
    </item>
    <item>
      <pubDate>Wed, 9 Feb 2005 11:00:37 GMT</pubDate>
      <title>9 Feb 2005</title>
      <link>http://www.advogato.org/person/pjrm/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/pjrm/diary.html?start=1</guid>
      <description>&lt;p&gt;I'm currently working with &lt;a href="http://www.advogato.org/person/njh/" &gt;Nathan Hurst&lt;/a&gt; on improving table layout: how to choose column widths &amp;amp; row heights that minimize wasted space (or get more readability from a given amount of space).

&lt;p&gt; &lt;p&gt;The HTML standard includes one specification of how this is to be done, though its results are in many cases displeasing.

&lt;p&gt; &lt;p&gt;It may be difficult to get improvements into newer HTML standard (given the number of browsers needing updating), though we may well be able to use the improved approach in software that isn't bound by standards for table layout, e.g. word processors and spreadsheets.  ("Word processors" could even include HTML editors: the HTML editor could give hinted row/column sizes as percentages if the user was unhappy with the default assignment given by the HTML algorithm.)

&lt;p&gt; &lt;p&gt;I'm quite happy with the improvements we've made, but I'd like more ideas about how to have these improvements used.</description>
    </item>
    <item>
      <pubDate>Wed, 12 Jan 2005 07:01:15 GMT</pubDate>
      <title>12 Jan 2005</title>
      <link>http://www.advogato.org/person/pjrm/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/pjrm/diary.html?start=0</guid>
      <description>&lt;p&gt;I've recently been looking at using &lt;a href="http://advogato.org/proj/libcroco/" &gt;libcroco&lt;/a&gt; from &lt;a href="http://advogato.org/proj/Inkscape/" &gt;Inkscape&lt;/a&gt;.  I'll need some help in hooking it up properly (e.g. ensuring that the picture updates whenever stylesheets in the document are modified), but at least I can do the main work of interfacing with libcroco.

&lt;p&gt; &lt;p&gt;As a result of looking at libcroco, I've noticed a few bugs, so I'm working on fixing those and updating the test suite so that it catches those bugs.

&lt;p&gt; &lt;p&gt;I've also noticed that there are a number of things about style that aren't specified in the SVG spec, e.g. the priority of &lt;tt&gt;style="&lt;/tt&gt;...&lt;tt&gt;"&lt;/tt&gt; attributes compared to other stylesheet information.  My guess is that it's considered more specific than any separate stylesheet rule.</description>
    </item>
  </channel>
</rss>
