SVG guides

Size an SVG mark for a label or a full sheet

·

A supplier asks for a two-inch-wide mark and measures the PDF page itself. A two-inch mark on a letter-size sheet is a different delivery. Start with the supplied wayfinding mark to test the requested page before handing over artwork.

SVG to PDF

Make a two-inch by one-inch page

The example viewport is 80 × 40. Set Drawing width to 192 and choose Match drawing size. At 96 CSS pixels per inch the 192 × 96 viewport corresponds to 2 × 1 inches, or 144 × 72 PDF points. Choose Save as PDF at 100% scale. Check the page dimensions in a PDF reader.

If the PDF reader reports an office paper size, return to the print dialog and check whether the driver overrode the custom page. A physical printer also has printable-area limits.

Download the wayfinding mark (SVG)W3C CSS Values: absolute length units

Check the same mark on an A4 proof sheet

Select A4 and print another copy. The document requests a 210 × 297 mm page and 12 mm margins. A wide mark fits within the available 186 mm width. A tall mark can reach the height constraint first. The tool centers it horizontally at the top of the printable area.

Compare the two PDFs by page properties before comparing the on-screen zoom. Fit page in two viewer windows can make a small label and a full sheet look almost the same.

W3C CSS Values: absolute length units

Inspect vector edges, images and text separately

Zoom in on the white arrow from the sample. Its straight edges provide a simple check of the browser’s vector printing. A photograph embedded in the same document is still made of pixels; a shadow or filter can also be flattened by a print engine.

If a word shifts or loses a glyph, compare the on-screen SVG preview with the saved PDF. A font that is missing in the preview cannot be supplied later by changing the PDF paper size.

Download the wayfinding mark (SVG)W3C SVG 2: viewport and viewBox

Common questions

Does changing the label width change its proportions?

The height follows the source viewport ratio. On the sample, changing width from 192 to 288 CSS pixels changes the matched page from 2 × 1 to 3 × 1.5 inches.

Can I recover SVG layers or paths from every PDF?

The browser generates a print representation. Keep the original SVG when a recipient needs editable vector objects.

Sources

Put it into practice.

Related guides