W3C home > Mailing lists > Public > www-svg@w3.org > October 2000

RE: Determining UserAgent's client size.

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Thu, 19 Oct 2000 11:35:23 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB5824B03@stagecoach.bts.co.uk>
To: "SVG Mailing List (E-mail)" <www-svg@w3.org>
> From:	Adam Van Den Hoven [SMTP:Adam.Hoven@bluezone.net]
> 
> I want to convert an arbitrary set of data into an SVG image. Clearly this
> should be a simple task. However, I need to know something about the
> actual
> number of pixels to work with to decide how many tick marks and lables I
[DJW:]  
You can't know this.  Even if the image is necessarily
generated on the fly, you can't tell what resolution of
printer will be used for a proof and for a quality hard
copy, and you can't know whether the image will be saved
and viewed on a different resolution display, or whether the
window will be resized after the download.

If the image can reasonably be pre-computed, dynamic
sizing will make it uncacheable, which is an undesirable
attribute for any web page.  You would need to have
several resolutions and contents negotiate.

There are proprietory HTTP headers that ought to allow
content negotiations and and I believe there a proposals
for a standard way for clients to inform the server of
their capabilities.

-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.
>  
Received on Thursday, 19 October 2000 06:35:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:48 GMT