W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: Coordinate systems in 1.1/1.2

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Mon, 25 Nov 2002 09:03:50 -0500
Message-Id: <p04330101ba07dd85b18b@[192.168.254.4]>
To: www-svg@w3.org

At 1:54 PM +0100 11/25/02, Tobias Reif wrote:

>That would be awesome.
>But wouldn't that require calibration?

At some level, yes. However, not any more than SVG already requires. 
In some contexts the renderer can ask the user to tell it how big an 
inch is. (Mozilla does this, at least for regular layout. I'm not 
sure about for SVG.) In others there may be an API call that tells 
you how many pixels are in an inch. Still, you can take a pretty good 
guess already. Just pick 90 dpi if you don't know any better. 
Remember, SVG already allows lengths in inches and centimeters and so 
forth. So this doesn't add anything to what an SVG renderer already 
has to do.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+
Received on Monday, 25 November 2002 09:28:22 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:23 GMT