
11 Apr
2014
11 Apr
'14
11:57 a.m.
On Fri, 2014-04-11 at 13:52 +0200, Krzysztof KosiĆski wrote:
2014-04-11 13:39 GMT+02:00 Tavmjong Bah <tavmjong@...8...>:
<svg width="20in" height="15in" viewBox( 0 0 20 15 ) ... >
Once you have done this, one user unit is one inch. If you actually set a length to an inch inside the file (i.e. width="1in"), it will be interpreted as 90 inches since we use 90 user units per inch.
So the behavior is:
- In the width / height attributes on the topmost <svg> element, "in"
denotes the intended physical display size of the document. 2. Anywhere else, "in" denotes exactly 96px.
Is that correct?
Almost... "in" denotes 96 user units which is equal to 96px if there is no scaling.
Tav