RE: [svg-developers] Re: Prague Astronomical Clock simulator
Hi Pawel, http://drifted.in/horologium-app/ How you created the basic SVG? Core astronomical clock parts consist of simple graphics (circles, arcs, lines). They are quite easy to reproduce. Most of it follows special spherical astronomy rules. Labels and symbols are vectorized manually (from a high resolution photograph) and converted into my custom font. This allows me to render individual letters using the 'text on path' SVG feature. The final appearance is driven by CSS styles. Generating is based on the skeleton SVG file with a very basic structure and unique IDs. This base graphics is processed in the XML pull parser where all the key IDs trigger the injection of the corresponding non-static SVG code fragments (calculated for the current settings). The final SVG file is temporarily stored and referenced in the HTML page. Jan - 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/
[svg-developers] Prague Astronomical Clock simulator
Dear All, let me to introduce the Prague Astronomical Clock simulator: http://drifted.in/horologium-app/ The graphics is based solely on the SVG format and my custom font. That quazi 3D appearance is ensured by filters (drop shadows). They are used extensively here. The initial SVG image is generated by the server. Small clock configuration changes (time shifts) are driven by JavaScript. These affecting the appearance (latitude) force the server side driven regenerating and updating the image in the app. Only some browsers are supported. The best experience can be ensured with Firefox. Chrome is quite slow during the initial rendering, but the result is Ok. The result in Opera is quite fine. The ecliptic ring is blurred here though. In MSIE9 and Safari no filters are rendered and the image size is incorrect (the lack of the CSS3 support). Have fun with this application! Jan http://drifted.in/ - 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/
RE: [svg-developers] Font embedding
Dear All, I'd like to have this behaviour consistent amongs browsers and now I don't know whether to file a bug to MSIE or to the rest of major browsers... Thanks for any clarification, Jan I've created a symbol font that is embedded into SVG via css font-face directive (Base64 encoded). Some other fonts worked fine in all major browsers, but this one, in MSIE 9, wasn't displayed at all. Finally I've found it is caused by font embedding settings (specified directly in the font). If there is any other option selected than 'Everything is allowed', the font is not displayed. These options are (in Fontlab): - only printing and previewing of the document is allowed (read-only) - editing of the document is allowed - everything is allowed (installable mode) - embedding of this font is not allowed - 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/
RE: [svg-developers] Common defs for multiple images
Hi Jason, I have several images with common css styles, markers and symbols. To avoid manual editing all these files on any future change I'd rather make a link to this stuff. My attempt using xi:include (from XML world) seems to be not supported by common tools (browsers, rasterizers). Perhaps you'll find the following quote helpful. ... ?xml version=1.0 standalone=no? ?xml-stylesheet href=mystyle.css type=text/css? ... wow, but this solves just part of my problem. I also need to share markers (line ending arrows in my case). I could eventually reference them using an external file, but this doesn't work in the WebKit (which is a must for me). path d=M50 100h100 style=stroke: black; stroke-width: 1; marker-start: url(defs.svg#arrowStart);/ Any idea? Jan - 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/
[svg-developers] Common defs for multiple images
Dear All, I have several images with common css styles, markers and symbols. To avoid manual editing all these files on any future change I'd rather make a link to this stuff. My attempt using xi:include (from XML world) seems to be not supported by common tools (browsers, rasterizers). svg xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; width=100 height=100 viewBox=0 0 100 100 version=1.1 xi:include xmlns:xi=http://www.w3.org/2001/XInclude; href=defs.xml/ path d=M0 50h100 class=dashed/ /svg I could resolve these includes using the xmllint tool first, but I'd like to avoid this extra step (and to keep two versions of each file). Are there any more convenient alternatives? Thanks, Jan - 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/
[svg-developers] Font embedding
Dear All, I've created a symbol font that is embedded into SVG via css font-face directive (Base64 encoded). Some other fonts worked fine in all major browsers, but this one, in MSIE 9, wasn't displayed at all. Finally I've found it is caused by font embedding settings (specified directly in the font). If there is any other option selected than 'Everything is allowed', the font is not displayed. These options are (in Fontlab): - only printing and previewing of the document is allowed (read-only) - editing of the document is allowed - everything is allowed (installable mode) - embedding of this font is not allowed Do you think it is the correct behaviour? Thanks for you opinion. Jan - 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/
RE: [svg-developers] Filter transformations
Hi Jason, http://bilyujezd.cz/other/fePointLight.svg (works in Firefox only) Is there a more efficient way? I don't use Opera, but this one works in Chrome. ... radialGradient RadialGradient is indeed much better approach in this case, thanks for the tip. It is much more compatible than my filter. Anyway, has anybody an idea how my filter should look like? I've noticed it is rendered with that grey background even in Inkscape and Opera. In 100% zoom it has different appearance in every browser (Chrome/FF/Opera). It behaves strangely when zoomed in/out (except Opera). What is the gauge? The only reference I found is this test, but it doesn't show exactly what I need: http://www.w3.org/Graphics/SVG/Test/20110816/harness/htmlObjectApproved/filt ers-light-01-f.html Regards, Jan - 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/
[svg-developers] Filter transformations
Dear All, I'd like to transform (rotate) my object with the filter applied to it, but I want to keep my filter without object's transformation. I ended up with this code. In sum, there are three rotations (back and forward) to get the desired effect: http://bilyujezd.cz/other/fePointLight.svg (works in Firefox only) Is there a more efficient way? Is there any workaround to render this effect (sphere-like object) also in Chrome or Opera? Regards, Jan - 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/
[svg-developers] Filter inheritance
Dear All, I've tried to apply a drop-shadow filter, but encountered the following inheritance issue, see this small test case http://hroska.cz/other/filter.svg While there is a child element with the filter attribute set to 'none', the filter of its ancestor is still aplied to it (FF and Chrome). Is it bug or according to the spec? While there is a quite easy workaround for this example, my real file is much more complex :-( Any idea? Thanks, Jan - 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/
RE: [svg-developers] Text on path browser compatibility
The only problematic result is in IE9. Unfortunately there no even way how to report it. This browser won't be simply supported by my app :-( http://hroska.cz/other/test_transform2.svg MSIE9 is simply buggy when rendering text-anchor values other than 'start' To support MSIE I have to use 'start' and tweak the startOffset attribute to get the same result :-( Jan - 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/
RE: [svg-developers] Text on path browser compatibility
I want to achieve the same angles (acc. to Y axis) at which the right/left texts starts/ends. Chrome 19 seems to be correct, but in the rest of browsers (FF, IE, Opera, Batik Squiggle) it is rendered differently. http://hroska.cz/other/test_transform.svg http://hroska.cz/other/test_no_transform.svg According to the hint in the comment of the similar bug: https://bugzilla.mozilla.org/show_bug.cgi?id=665822 I've removed all white spaces and it is much better now. The only problematic result is in IE9. Unfortunately there no even way how to report it. This browser won't be simply supported by my app :-( http://hroska.cz/other/test_transform2.svg http://hroska.cz/other/test_no_transform2.svg Regards, Jan - 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/
[svg-developers] Text on path browser compatibility
Dear All, I am facing a weird issue with the 'text on path' SVG feature. I want to achieve the same angles (acc. to Y axis) at which the right/left texts starts/ends. Chrome 19 seems to be correct, but in the rest of browsers (FF, IE, Opera, Batik Squiggle) it is rendered differently. http://hroska.cz/other/test_transform.svg http://hroska.cz/other/test_no_transform.svg Is there any workaround? Thanks, Jan - 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/
RE: [svg-developers] Re: SVG developer wanted to make Online Graphic edit app for printing website
My small company is looking for a SVG developers who can create a custom SVG editing app to embed into our website. Personally I'd prefer selecting prepared templates. I think there is only small amount of creative creators on the planet willing to create something from the scratch in your super app. There are many web2print solutions on the web already, e.g. http://www.lead-print.com/de/web-to-print.php - this one you can just rent. I rather discourage anyone from relying on single person for such a crucial project for you future business. You'll become strongly dependent on him with all cons. You should also think of connection to your backoffice, planning accounting systems... Jan - 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/
RE: [svg-developers] Planisphere - a SVG based tool for astronomers
http://drifted.in/space/ In whatever Opera's last snapshot it seems to work nicely. Can you be more specific about the issues you have? In my Opera 11.51 on Win7/64bit I just don't see any star ;-) I use zero length lines with rounded caps. I don't see also anything in this testcase: http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectMiniApproved/painting-control-04-f.html I know there are some easy workarounds, but... The second issue is the lack of support for custom cursors in cur format. I know it is initially Windows format, but it is widely supported by other browsers. I've tried some fallbacks with other cursor formats, but it was buggy in some other browsers. But I agree this is not primarily an Opera issue. Jan - 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/
[svg-developers] Planisphere - a SVG based tool for astronomers
Hello Everyone! Let me introduce a new interactive web application with a possibility to generate the planisphere as a cutting that can be assembled into a handy tool for astronomical observations. When date is adjusted to the appropriate time (the bottom scale is for daylight saving time), there are displayed just corresponding constellations in the map area. Sun, Moon and planets aren't shown as their positions are time dependent. Because of involving modern technologies, browsers without their support can display the content incorrectly. This app is SVG based. The benefit of this solution is that just single rendering engine is necessary for both HTML page and PDF output (PDF can be converted from SVG quite easily). The best results are achieved with Firefox. MSI9 works also quite well (surprisingly). Safari slightly falls behind. Despite claims the superb standard support, both Chrome and Opera are failing. After they pass my 'ACID' test, I will trust them :-) Thanks to all for your answers here in this forum as it helped me a lot to move my project forward to this final stage. Regards, Jan - 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/
[svg-developers] Clipping to the ViewBox
Hello Everyone, reading the SVG spec. [1] I think that setting the overflow attribute on the svg element to hidden should be sufficient. The same job should be achieved by setting the clip attribute to the viewBox values. When the SVG itself is displayed in a browser, it is clipped as expected by default. But when it is placed and scaled in the HTML document, in Firefox/Opera/Chrome that clipping region is not preserved any more. I've prepared a test case [2]. Is there any option for preserving clipping region (gray area) when SVG dimensions are changed? Or is a different approach necessary in this case? Regards, Jan __ [1] http://www.w3.org/TR/SVG/masking.html#OverflowAndClipProperties [2] http://hroska.cz/other/test.html - 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/
RE: [svg-developers] Re: Unintended scaling down of linked svg
I think the problem you are running into is that there are two viewboxes being applied. So per your code sample, try removing the viewbox from the root SVG element of the externally referenced link.svg file and then you should see what you expected. Thanks for the tip, but it doesn't help (the same result). Btw, this viewBox is a must in other my files (that I want to use this way) as it stores info how used coordinations are related to the physical size. I can scale that reference SVG file by some constant value (g transform=scale(1.06, 1.06) seems to be sufficient), but it is quite dirty solution... - 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/
[svg-developers] Unintended scaling down of linked svg
Hello Everyone, I am probably missing something, but when I place another svg into my svg, it is scaled down a bit (attached). Both these images have the same 'resolution' so if there is any size specified, it should be equal. It will be processed in Batik so I tested it there (Squiggle), but the same behaviour I've noticed also in Firefox. Can I avoid it somehow or is it a bug in both tested environments? Regards, Jan [Non-text portions of this message have been removed] - 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/
RE: [svg-developers] Re: IE9 problem...
the flash player is not rendered (in IE9). Maybe unrelated, but in 64bit systems there are two version of IE (32/64bit). Please check ,About Interner Explorer' dialog. If you can see (64-bit) after version info, Flash won't work as the corresponding plugin is not available for 64bit platforms yet: http://kb2.adobe.com/cps/000/6b3af6c9.html [Non-text portions of this message have been removed] - 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/
[svg-developers] Mask rendering problem
Hello Everyone, in the attached sample graphics there is used mask for rendering the content. While IE, FF and Opera render output consistently, Chrome gives completely different output. Is it really a Chrome bug and is there any workaround available? Or there is any mistake in my code? Regards, Jan [Non-text portions of this message have been removed] - 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/
RE: [svg-developers] Mask rendering problem
Here is my sample graphics: http://skibob.dobruska.cz/other/mask.svg From: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com] On Behalf Of honyk Sent: Thursday, March 10, 2011 11:03 PM To: svg-developers@yahoogroups.com Subject: [svg-developers] Mask rendering problem Hello Everyone, in the attached sample graphics there is used mask for rendering the content. While IE, FF and Opera render output consistently, Chrome gives completely different output. Is it really a Chrome bug and is there any workaround available? Or there is any mistake in my code? Regards, Jan [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] - 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/
RE: [svg-developers] Text on arc - rendering position
Not sure if this is what you have in mind, but perhaps experiment with Hmm, I should clarify my original post (although I appreciate your interesting experiments). I just want to clone the first image and rotate it together with text. http://skibob.dobruska.cz/other/text_path_ex.svg It can be easily done via rotating the whole group. No problem. But I am trying to achieve the same effect just via rendering a path with transformed control points. But as it can be seen on the right part of the image, in this case the text is placed inside the hypothetical curve and there is no way (AFAIK) how to render it otside like in the first image (to place the bottom of the character nearer to the path). In my case it is necessary to render a huge amount of text (at any radii and angle) so I try to find the most efficient way. I think that transformation of every single instance of text on client side would have a great performance impact. But up to now it seems to be the only way... Jan - 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/
[svg-developers] Text on arc - rendering position
Hello Everyone, is there any possibility to specify the text rendering position on a path? I mean to specify if it has to be rendered inside or outside the hypothetical circle. In the attached example I'd like to achieve that text on red arc rendered outside. Is is possible without any transformations? Regards, Jan [Non-text portions of this message have been removed] - 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/
RE: [svg-developers] Text on arc - rendering position
Just 600 B file has been removed from my message so here is a direct link: http://skibob.dobruska.cz/other/text_path_ex.svg Subject: [svg-developers] Text on arc - rendering position Hello Everyone, is there any possibility to specify the text rendering position on a path? I mean to specify if it has to be rendered inside or outside the hypothetical circle. In the attached example I'd like to achieve that text on red arc rendered outside. Is is possible without any transformations? Regards, Jan - 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/
RE: [svg-developers] Divide objects below the specified path
Hi David, I'm not sure if I quite understand your scenario Please see my simplified use case http://skibob.dobruska.cz/other/clip.svg - I'd like to have that triangle transparent. It is impossible to do it with a single path (with multiple contours) as I need different fill styles of individual objects. While there has been some discussion of clipping paths with inversed functionality (I don't know if the SVG WG has taken up the issue or not -- though it would make sense) -- in the meantime, we do have mask that enables that and more. Masking makes graphics semitransparent, I am not sure if this would help in my case. Any idea? Regards, Jan [Non-text portions of this message have been removed] - 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/
[svg-developers] Divide objects below the specified path
Hello Everyone, I am trying to create a transparent shape (a circle like polygon consisted of straight lines) in my complex SVG graphics in my web app. It is not possible to use the common scenario and create it as a single path with several closed countours with a different direction. The only solution I can imagine is something like the Adobe Illustrator's function 'Divide objects below' and then deleting the resulted fragments in the hole area. Has Batik or any other library any features for clipping different types of objects in SVG (circles, Bezier curves, straight lines) to the given shape? Can I iterate the resulted closed contours and check if the given coordinate is located inside them? A Java library is preferred. Btw, it would be much easier with clipping paths with inversed functionality... Regards, Jan - 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/
[svg-developers] Graphics on path
Hello Everyone, is there any way how to place some graphics on the path similarly as it is possible with the text? I've found 'markers' only, but they can be placed on start/mid/end of the path only. What I am trying to achieve is a scale on the parabolic-like curve. I can calculate path points, to render text on the path (individual values with the step of 10 degreees placed to the appropriate positions using the startOffset attribute in percents) so it is rotated according to the path, but unfortunately, I cannot use a similar way for rendering major/minor tick marks (to specify graphics with the orientation 'auto' and place it on the path using the startOffset attribute). I'll have to calculate these ticks manually which seems to me quite annoying (and in case of complex paths like my parabola-like curve also quite complex). I think it is pity something like this is not covered in the standard as the logic is already available for rendering the text on the path. I can imagine that markers could be generalized and not restricted to the predefined positions only... I can even imagine that this graphics on the path could be also have similar property to the text-anchor, which would specify rendering position... This graphics would be processed in the same way as the glyphs... And what could be also implemented that color properties could be optionally inherited from the defined (mother) path. (Because of this limitation the arrow color can be changed in Inkscape via extension only) But this is 'proposal' for the future. Any clue for now? Regards, Jan - 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/
[svg-developers] Clipping the text on the closed path
Hello Everyone, I am facing a clipping issue when placing text on the closed path (circle-like Bezier curve). http://skibob.dobruska.cz/other/data.svg When my text with the text-anchor set to the middle is placed at very beginning of the path, the first half of the text is clipped (the number 20 in the example above). So in these edge cases I am placing the same text to the 'end' of that path for sure again (using the same logic this text should have clipped the second half). But instead of composition of two halves of the same text I am getting unacceptable results in major browsers (except Firefox). Can my source be enhanced somehow? Btw, I am missing something like clipping='false' in the SVG standard ;-) I'd like to avoid placing these cases on a different path (with the beginning in another angle). Any hint is welcome. Regards, Jan - 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/
RE: [svg-developers] Re: Custom cursors issues
I've found my code behaves differently in major browsers. The SVG variant of the cursor is ignored at all. Only Chrome prefers the raster PNG variant, but the rest uses the last available fallback - the defined standard cursor. See http://longsonr.wordpress.com/2010/12/16/svg-cursors/ for how to do SVG cursors in Firefox 4. In short, you need to use CSS directly and avoid the SVG cursor element. Conclusion of my research: 1) I'll use CSS instead of the cursor element 2) I'll use .cur file with the defined hotspot in it This is supported in MSIE, FF, Chrome but not in Opera. When .png with the defined hotspot is supported in MSIE, I'll prefer it to the .cur format. 3) that locking and changing the cursor to unavailable (a circle with the slash) during dragging in FF is the known bug [1]. But workaround is available - to set the following style to the root svg element -moz-user-select: none; 4) I've found that MSIE 9 has the same issue like FF in the previous point (3). I've already tried applying CSS3 property user-select: none, but with no success (it also doesn't work in FF4 and that proprietary one must be used instead there). I've accidentally found [2] two solutions working when applied on the root svg element: a) MSIE property unselectable=on b) event ondragstart=return false; - this one I'll prefer So, finally, I don't need to abandon my original idea to use SVG for my project. I only regret that Opera will not be supported officialy by my site - although it is 'just' because of that custom cursor behaviour... Updated version can be found here: http://skibob.dobruska.cz/other/wheel_cur.svg Open points: A) In MSIE and Chrome any mouse movement is necessary after mouse down (in MSIE also on mouse up) to update the cursor. Is it a bug or am I missing something? FF and Opera are Ok. B) In MSIE there is an extra cursor change to the arrow between the mouse down event and subsequent movement. Mainly B) is annoying. If any fix is available, thanks for sharing. Regards, Jan ___ [1] https://bugzilla.mozilla.org/show_bug.cgi?id=330638 [2] http://stackoverflow.com/questions/826782/css-rule-to-disable-text-selection -highlighting - 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/
RE: [svg-developers] SVG and vb6 even in webbrowser control didn't work :(
I tried using webbrowser to load the svg image AFAIK webbrowser uses MSIE libraries present on the given computer and there is no support for SVG before version 9.0. Development of Adobe SVG viewer has been discontinued. VB6 language seems to be obsolete nowadays. I recommend: 1) switching to Java and Batik SVG library instead (desktop app) 2) creating the web app based on JavaScript and relying on SVG support in modern browsers Regards, Jan [Non-text portions of this message have been removed] - 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/
RE: [svg-developers] libmsvg
I have started libmsvg, a minimal and generic C library to read and write SVG files: http://libmsvg.fgrim.com I am just curious what is advantage over the generic XML library like libxml2: http://xmlsoft.org/ or GNOME rsvg project: http://library.gnome.org/devel/rsvg/stable/ Could it be shortly compared/contrasted? Thanks in advance, Jan - 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/
RE: [svg-developers] Rotating Images
I have an image image xlink:href=working.png x=740 y=40 width=40 height=40/ I want to rotate it around its centre (x=760 y=60) indefinately You can use rotate transformation with two additional parameters: rotate(angle[, centerX, centerY]) Jan [Non-text portions of this message have been removed] - 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/
[svg-developers] Custom cursors issues
Hello Everyone, I am trying to create a small tool completely in SVG with the help of JavaScript. It consists of two wheels. The front one is fixed while the back one can be rotated by dragging. Thats it. The current status can be seen here: http://skibob.dobruska.cz/other/wheel.svg To show dragable area I use the custom mouse pointer (it should display if you hover the green wheel). Once this wheel is dragged and rotated, pointer changes to different cursor (grasping). On mouse up the cursor gets initial properties. I've found my code behaves differently in major browsers. The SVG variant of the cursor is ignored at all. Only Chrome prefers the raster PNG variant, but the rest uses the last available fallback - the defined standard cursor. Beside this there are other issues: Chrome 8 - the best result. There is the only observation - if mouse button is clicked, the cursor doesn't change immediately, but any movement is necessary to change it to 'drag'. Firefox 4.0b7 - my mouse fires the drag and drop mode quite often. In this case rotating is frozen and handling of events fails (the 'mouse up' event is not executed so the cursor is not set back to the initial state). Opera 11, build - the same problem as Chrome (not changing cursor immediately after mouse down) + not changing cursor back after mouse up. It is changed when any area with different cursor setting is entered, but this behaviour is very confusing from my point of view. Is there any room for other improvements in my code to get the best of the browser possibilities? Or are these ones just known bugs which will be likely fixed in future? Thanks for any hints. Regards, Jan PS: What is not yet covered is handling the mouse up event outside the SVG area (wheel). Currently this event is ignored what leads to abnormal behaviour when you return back to the SVG area. - 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/