Hello Erik,

here are my examples :
http://www.visualkit.com/emao/bugsvg/fit_svg_html.php

You have a combo with different cases. Choose one of them and clic Display! 
button.
This will display a textarea with the line used to generate the pattern in the 
embed svg, on the right of your screen. On left side, a bitmap showing what i 
want.

using the combo, you'll find different cases :

1 - chromium and opera srink pattern : perhaps this case is normal but as ffx 
not render pattern with viewbox when objectBoundingBox is selected ...

2- firefox: objectBoundingBox + viewbox -coma or space in pattern : this case 
uses viewbox, and ffx not render pattern. i tested with space and coma, same 
result.

3 - opera : objectBoundingBox + width > 35 = blur : this case shows blured 
pattern when width=45. I can see it when width is around 30 ... and in 
http://www.visualkit.com/emao/bugsvg/fit_01.html where it is at 100 ...

4 - normal case with ffx not opera and chrome : This case is the normal case, 
as i have the same behavior with objectBoundingBox and userSpaceOnUse. Bad 
news, opera and chrome cut in different way, the same as "similar for all".

5 - similar for all : this case shows a rendering identical for ffx, opera and 
chromium.

I use both of them under kubuntu 11.10 with asus x71sl with nvidia card. I 
didn't test them under windows.

Using userSpaceOnUse instead of objectBoundingBox give me what i want. It is 
the first time i use userSpaceOnUse ... and perhaps the last time ... until i 
have a real need for it. 

Hope this helps
Philippe
http://www.visualkit.com

--- In svg-developers@yahoogroups.com, "Erik Dahlstrom" <ed@...> wrote:
>
> On Mon, 23 Jan 2012 20:02:50 +0100, philsvg <philsvg@...> wrote:
> ...
> > I tested with patternUnits="objectBoundingBox" and width="1" and the  
> > rendering is ok too. If i increase width (and duplicate the pattern in  
> > memory) i can see bluring increase too (opera only)...
> 
> Please provide an example.
> 
> > I tested with patternUnits="objectBoundingBox" and width="1" and no  
> > viewBox with firefox, and i have the same cutting with Opera ... but  
> > chrome shrink the mire in the bouncing rectangle of the cut.
> 
> I think I tried this and it looked the same in Chromium to me, again it's  
> probably best if you provide an example.
> 
> > But if i use patternUnits="objectBoundingBox" and width="2", it renders  
> > in FFX as if patternUnits="userSpaceOnUse" that seems logical, but  
> > rendering is different for opera who cuts like width="1" and for chrome  
> > who cuts in a different way. try it!
> 
> Opera 11.61 and Chromium 18.0.997.0 both cut it the same way for me.
> 
> > With FFX, if i use width="1" height="1" patternUnits="objectBoundingBox"  
> > viewBox="0,0,100,100", tiling disappear but it is rendered in Opera and  
> > chrome ...
> 
> I don't think Firefox allows commas in viewBox attributes, try separating  
> the values with space instead. If I make that change it still seems like a  
> bug in Firefox that it doesn't respect the pattern coordinate system (the  
> viewBox).
> 
> Cheers
> -- 
> Erik Dahlstrom, Core Technology Developer, Opera Software
> Co-Chair, W3C SVG Working Group
> Personal blog: http://my.opera.com/macdev_ed
>




------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to