Re: [svg-developers] Re: Text dimensions

2005-02-03 Thread Narcis Vasiliu

Thank you very much, Aashish.

What is HTH?

Narcis

--- Aashish Singhvi <[EMAIL PROTECTED]> wrote:

> 
> --- In svg-developers@yahoogroups.com, Narcis
> Vasiliu 
> <[EMAIL PROTECTED]> wrote:
> > It is a way to get the dimensions of a text (in
> > milimeters) rendered by Adobe SVG Viewer?
> > 
> 
> If you a text element looks like this in your svg
> element:
> WHATTHEHELL
> 
> Then in your javascript, you can get close with
> var textbox = svgdoc.getElementById("T1").getBBox();
> 
> You should be able to get the required information
> through 
> textbox.width and textbox.height
> 
> (I think it will work even when the text is on a
> path. However, 
> remember that the dimension would always be
> rectangular box bounding 
> the text)
> 
> I am not familar with 'userspace' attributes on SVG
> document. You 
> could join with that to get the height in
> millimeters. If using 
> pixels, 72px =  25.4 mm
> 
> HTH,
> Aashish
> 
> 
> 
> 
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250


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





Re: [svg-developers] Re: Text dimensions

2005-02-03 Thread Philippe Lhoste

Narcis Vasiliu wrote:
> Thank you very much, Aashish.
> 
> What is HTH?

Google is your friend:
http://www.google.fr/search?q=hth+ymmv+fyi+afaik

For example:
http://www.loganact.com/tips/afaik.html

HTH :-P

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  For servers mangling my From and Reply-To fields,
--  please send private answers to PhiLho(a)GMX.net
--  --  --  --  --  --  --  --  --  --  --  --  --  --


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