Hi Richard, in my experience, all you have to do is set the width and height of your svg root element to the envisaged paper size,
e.g. <svg width="210mm" height="297mm" viewBox="0 0 210 297"> ... </svg> for an A4 portrait page. If you specify it like this, all units within the SVG are automatically in "mm". This works fine in Batik. Other viewers have problems printing at scale (distortions, etc.). For that reason I use Batik to convert the SVG to PDF prior to printing. Andreas --- In [email protected], "gnylarichard" <[EMAIL PROTECTED]> wrote: > > Hi > > I need some advice on svg and unit drawing. > > Currently I am drawing cad data that is in mm and drawing in svg > which is in pixels. I require to draw in real world units of mm, and > was wondering is this how everybody does it? > > Would it be a good idea to draw it in mm like in cad, problem we are > finding is in fonts because 1200mm font in svg is smaller and dont > want to do any conversions etc.. > > I would also like to keep to the same unit, what do people recommend > in drawing in mm, are there any examples etc.. > > Can you set the whole document to default to mm, in etc..? > > Your thoughts are appreciated > > Richard > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

