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"

 

Rationale

 

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
prints.

 

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:17:07 GMT