lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev megapatch to dev.10 - and a rant


From: Vlad Harchev
Subject: Re: lynx-dev megapatch to dev.10 - and a rant
Date: Fri, 15 Oct 1999 22:52:16 +0500 (SAMST)

On Fri, 15 Oct 1999, Eduardo Chappa L. wrote:

> *** Vlad Harchev (address@hidden) wrote on Oct 14, 1999:
> 
> 
> :)          1. Let  W be the screen width subtracted by the sum of widths of
> :)             fixed-width columns.
> :)          2. Distribute W into the columns whose width are not decided, in
> :)             proportion to the logarithm of the maximum width of each col-
> :)             umn.
> :)          3. If the distributed width of a column is smaller than the min-
> :)             imum  width,  then fix the width of the column to the minimum
> :)             width, and do the distribution again.
> :)        
> :)    In this process, distributed width is proportion to logarithm of maxi-
> :)    mum  width,  but I am not sure that this heuristic is the best. It can
> :)    be, for example, square root of the maximum width.
> 
> Yes you can make it as you want to, but remember that the maximum width is
> the number of characters in that row, if you choose a logarithmic factor,
> then doubling the size of the data in the row will only increase the width
> of the column in a constant number (log 2), if you choose square root you
> will multiply the width by sqrt(2), making it too big, maybe, too fit in
> the screen, as Fermat said.

  Eduardo, I didn't write this quoted text - the w3m's author did.

  I haven't heard that Fermat was involved in table rendering algorithms :)

  Does anybody enjoy justification+hyphenation of the quoted text? :)

> Eduardo
> http://www.math.washington.edu/~chappa/personal.html
> 

 Best regards,
  -Vlad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]