--- In [email protected], Kenneth Nellis <nelli...@...> wrote: > > I wonder if a 2nd pair of eyes might see a problem with my SVG code > in this page: > > http://mysite.verizon.net/nellisks/svg/kakuro/wp.07-10-28.svg > > Safari 3.2.1 with ASV3 and Firefox 3.0.4 and Camino 1.6.5 render the > Kakuro puzzle as desired, but Safari w/out ASV3 renders impossibly > large text, just as did Opera 9.25. The current version of Opera > (9.62) renders no text at all, unless its positioned outside the > window. (This is the one "worse" thing that I've identified so far > about Safari's SVG rendering over ASV's.) > > Ken Nellis > > > On Dec 19, 2008, at 1:06 PM, [email protected] wrote: > > > Re: Safari 3.2.1 with ASV 3.0 won't View Source > > Posted by: "Andreas Neumann" a.neum...@... neumannandreas > > Thu Dec 18, 2008 11:15 pm (PST) > > > > yes, it is also my impression that some things are better and some > > are worse. But Webkit is under active development while ASV is > > dead. Also, all in all, performance in Webkit and browser > > integration is good. > > > > I agree that there are still some bugs. > > > > I encourage you to report the bugs at https://bugs.webkit.org/ > > > > Webkit is also important since it is also used in Google Chrome, > > iPhone, Konqueror, Adobe Air (I think they deactivated SVG on > > purpose) and other browsers/devices. > > > > Thanks, > > Andreas > > > > [Non-text portions of this message have been removed] > Hi,
from my experience the Webkits have a problem rendering sizes which are less then 1 - font-size, image with/height etc. It doesn't matter for them what the final size on the page is, what counts for that problem is the initial declaration. I wrote a small script to do the dirty work for you if you just replace the relevant part of your code with the following code, also note I ad px to the font size or else in most browsers you'll end up with the default font size of the browser. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- Created Sun Dec 21 13:21:04 2008 by make_kakuro_svg --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-50 -50 1100 1100" onload="scaleAllNums()"> <script>//<![CDATA[ function numnum(it) { return /\d/.test(String(it)) &&it*1==it }; function scaleAllNums(){ var all = document.getElementsByTagName ('*'); for(var i=0, allL=all.length; i<allL; i++){ var atts = all.item(i).attributes for(var j=0, attsL=atts.length; j<attsL; j++){ var att = atts.item(j) if(numnum(att.value))all.item (i).setAttributeNS(null, att.name, att.value*100) } } } //]]></script> <title>Kakuro Puzzle</title> <defs> <style type="text/css"> text {font-size: 27px; fill: white} </style> ------------------------------------ ----- 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: mailto:[email protected] mailto:[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/

