Knut Arne Bjørndal schrieb: > On Sun, Feb 01, 2009 at 10:46:57AM +0100, Henrik Niehaus wrote: >> Knut Arne Bjørndal schrieb: >>> On Fri, Jan 30, 2009 at 10:44:56PM +0100, Stephan wrote: >>>> type (namespace: http://www.w3.org/2000/svg, name: flowRoot). >>> This is caused by the subway icon, which uses some SVG 1.2 >>> feature. I've had a go at rewriting it manually, but couldn't figure >>> out how to get all the transforming right, and petschge (who >>> originally did the icon) seems to have an inkscape that thinks this is >>> such a good idea it doesn't want to write SVG 1.1. >>> >>> Can anybody figure out a way to get this transformed to the correct >>> SVG version? There's no point in having this text flow stuff in there >>> anyway since it's just one character, and I dearly hope no SVG >>> processor will start dividing that into multiple lines. >> I have written about this error on Januar 10th, but nobody seemed to be >> interested. >> I have simply changed the svg version to 1.2 in orp.pl to fix this >> problem. Don't know, if this is ok, since nobody responded :-( > > I'm sorry you didn't get much of an answer, but as I said both I and > petschge had a go at fixing this with little luck. > > The problem seems to be that SVG 1.2 in Batik has some extra > dependencies, and it seems stupid to force 1.2 compatibility for such > a stupid reason (some software might even not have 1.2 support at > all). > > I'll have another go at messing with the SVG code now, but I'm not too > optimistic about figuring it out, so if anybody else manages to > convert it that would be great. > >
I have had a look on it. The S in the icon seems to use this special svg feature. So I tried the following: * Open svg in inkscape * Degroup objects * Select the S * Convert to path Result is an icon which renders the same as the original, but doesn't use flowroot, but pathes for the S. Don't know, if this is a suitable solution, but it's a workaround at least. BR Henrik <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="27.959999" height="27.959999" viewBox="0 0 60 60" id="symbol-subway"> <defs id="defs20" /> <path d="M 60,29.724138 A 30,30 0 1 1 0,29.724138 A 30,30 0 1 1 60,29.724138 z" transform="matrix(0.5281117,0,0,0.5065475,14.199571,15.230683)" id="path2174" style="fill:#ffff00;fill-opacity:1;stroke:#008000;stroke-width:4.78045559;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <path d="M 16.248535,9.0297229 L 16.248535,12.578551 C 15.327624,12.16678 14.429187,11.856071 13.553223,11.646422 C 12.677236,11.436801 11.849926,11.331983 11.071289,11.331969 C 10.038078,11.331983 9.2744073,11.474235 8.7802734,11.758727 C 8.286127,12.043245 8.0390569,12.484977 8.0390625,13.083922 C 8.0390569,13.533153 8.2037703,13.88504 8.5332031,14.139586 C 8.8701108,14.386667 9.4765555,14.600046 10.352539,14.779723 L 12.194336,15.150328 C 14.058582,15.524687 15.383776,16.093697 16.169922,16.85736 C 16.95604,17.621039 17.349106,18.70665 17.349121,20.114196 C 17.349106,21.963483 16.798814,23.341085 15.698242,24.247008 C 14.605131,25.145446 12.931793,25.594664 10.678223,25.594664 C 9.6150645,25.594664 8.548171,25.49359 7.4775391,25.291442 C 6.4068971,25.089293 5.3362602,24.789815 4.265625,24.393004 L 4.265625,20.743102 C 5.3362602,21.312116 6.3694622,21.742617 7.3652344,22.034606 C 8.3684837,22.319114 9.334303,22.461366 10.262695,22.461364 C 11.206046,22.461366 11.928539,22.30414 12.430176,21.989684 C 12.931793,21.675234 13.182606,21.226016 13.182617,20.642028 C 13.182606,20.117944 13.010406,19.713648 12.666016,19.429137 C 12.329092,19.144638 11.651521,18.890081 10.633301,18.665465 L 8.9599609,18.29486 C 7.2828728,17.935492 6.0550094,17.362739 5.2763672,16.576598 C 4.5052063,15.790475 4.1196273,14.731068 4.1196289,13.398375 C 4.1196273,11.728792 4.6586892,10.444777 5.7368164,9.5463245 C 6.8149371,8.6479036 8.3647402,8.1986853 10.38623,8.1986682 C 11.30712,8.1986853 12.254222,8.2698115 13.227539,8.4120471 C 14.200835,8.5468295 15.207832,8.7527212 16.248535,9.0297229" transform="matrix(1.3498235,0,0,1.3671756,16.44022,6.9709949)" id="flowRoot4118" style="font-size:49.35622406px;fill:#008000" /> </svg> _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
