W3C home > Mailing lists > Public > public-svg-print@w3.org > August 2004

Paper size

From: Andrew Main <amain@bournemouth.ac.uk>
Date: Wed, 11 Aug 2004 12:52:13 +0100
Message-ID: <5DA146E1E559B341A0C85AB49E01F222010C1C75@tamar.bournemouth.ac.uk>
To: <public-svg-print@w3.org>
Proposal. Include a hint as to ideal size of paper in addition to the
viewPort specification


Eg <svg width="100%" height="100%" paper="A4"




Like many people with svg, I print SVG via a browser, and either show
the svg native, or embedded as an object in XHTML.  Because of that, I
pretty much always use the "100%" width and height, so that the graphic
fills the object space, or the browser print-out.


If one uses, say for A4 paper, width="297mm" height="210mm" it displays
badly on a browser monitor.


At the moment, the user agent is without a paper size hint when it


Hence my suggestion that a hint is added that indicates the intended
paper size.  Then if the user views in via browser, or on paper, the
user-agent can give the user more nearly what they want.


The relevant part of the SVG Print Spec is

5.1.2 Using percentage of viewport sizing 

If the SVG image size is specified as a percentage value, it is
considered to be a percentage of the available viewport. In such cases,
the SVG Print device chooses the default paper size. 


Andrew Main
Received on Wednesday, 11 August 2004 12:01:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:41:45 UTC