On 3/18/15, Warren Young <[email protected]> wrote:
>
> The current timeline drawing code is a really nasty hack, abusing HTML in
> ways not intended by its designers. (E.g. Arrowheads constructed from a
> ziggurat of black-filled <div>s.)
It is a nasty hack. But it is also the only way we have found so far
to achieve the desired visuals using the (rather limited) HTML5 stack.
* <canvas> is limited in size to 32768 pixels, while graphs
sometimes approach one million pixels.
* PNG and SVN are unable to change dynamically in response to
browser window resize events.
>
> This recent round of attempts to antialias these <div> ziggurats appears to
> have unfortunate side-effects:
>
>
>
> Note the variable arrowhead offset and the changing line thickness.
>
> PNG, <canvas> and SVG at least are all *intended* for display of diagrams.
The varying thicknesses and offset arrowheads seem to be due to your
use of zooming. I think if you "zoom" to 100%, the undesirable
artifacts will disappear. The same effect might well result from
trying to draw those features using PNG, <canvas>, or SVG, depending
on how the web browser handles zooming.
--
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users