Re: SVG font-size is not correctly rendering.
"Arjen" <[email protected]>
| Newsgroups | gmane.text.xml.svg.devel |
|---|---|
| Message-ID | <[email protected]> |
Remove the px in the font-size declaration. The size is not in pixels but in viewbox units. --- In [email protected], "Srinivas" <sinu.nayak2001@...> wrote: > > Dear Friends, > > I have below svg code. > I am opeing my svg file with IE8 (along with Adobe SVG Viewer) and Mozilla Firefox (ver 5.0.1). > > > ++++++++++++ > <?xml version="1.0" standalone="yes"?> > <svg width="810" height="120" viewBox="0 0 810 120" xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full"> > <text x="0" y="120" font-family="arial" font-size="120px" fill="blue" >Hello</text> > </svg> > ++++++++++++ > > Here, though I am setting font-size="120px", when I view the svg file in browser, it is not 120 pixel high. > > Where am I wrong? > > Sincerely, > Srinivas Nayak > ------------------------------------ ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> 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/