RE: [svg-developers] Advice on drawing in mm units

2006-08-18 Thread Doug Schepers
Hi, Richard-

The proper way to do this is to specify the mm units in the root, like so:

svg version='1.1' xmlns='http://www.w3.org/2000/svg'
xmlns:xlink='http://www.w3.org/1999/xlink' width='200mm' height='400mm'

This means that all values that do not have unit markers themselves will use
millimeters.  This is the only way of specifying units for the path
element, in fact.

As for fonts, I'm not sure why you should have a problem there.  Have you
tried a different font?

Of course, using mm units on screens with different resolution will rarely
have the intended effect, but it may be appropriate for printing.  

Regards-
Doug
 

gnylarichard 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/
 




[svg-developers] Advice on drawing in mm units

2006-08-17 Thread gnylarichard
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/