--- In svg-developers@yahoogroups.com, Kenneth Nellis nelli...@...
wrote:
On Sat Jan 17, 2009 12:52 am (PST), Frank Bruder redu...@...
redurbf wrote:
Firefox 3.0.5 doesn't support SVG fonts anyway, but it also fails
to parse the document, complaining about an undefined entity
--- In svg-developers@yahoogroups.com, Helder Magalhães
helder.magalh...@... wrote:
Is it possible with SVG to define variables which can then be
referred to
in multiple places in the XML? For example, I'd like to see
something like:
As far as I know, XML provides such mechanism. You
Some problems with SVGZ, and with server configuration are mentioned
already. But one thing still missing rom the list is that Firefox
doesn't display SVGZ files when the server doesn't send the correct
content-encoding header, which also means that viewing local SVGZ
files over the file:
I've created a test file which uses the exact same code you posted
here, and for me it worked fine in Firefox 3.0.4 for Linux. I can't
send attachments over the list, but I'll send the file to you directly
in a separate mail. Tell me whether this stripped down test case works
for you or not. If it
There's SVG-VML-3D, a Javascript library for 3D graphics which uses
SVG (or in IE VML) for displaying:
http://www.lutanho.net/svgvml3d/
I've described my own idea of what an X3D to SVG converter could do
in a blog entry:
http://de.blog.360.yahoo.com/blog-rW.z7QIjfqIuNkZiEK3N?p=75
But I'm not
Hello,
according to the SVG 1.1 specification the glyph-name attribute of
glyph elements, and the g1 and g2 attributes of hkern and vkern
elements both have the format
name [, name ]*
which would imply a comma separated list.
In the section Basic Data Types under list of xxx the SVG 1.1
--- In svg-developers@yahoogroups.com, John Delacour j...@... wrote:
It seems that svg2pdf, using Cairo, balks at textanything/text
and gives a bus error. If anyone knows what might be the reason, and
a solution, I'd be glad to hear it but in order to get on with things
I'm thinking of
--- In svg-developers@yahoogroups.com, richard.trigaux
trigaux.rich...@... wrote:
This would not be good on a commercial site however, where we must
have to do with our client's ways. But why not Please try this site
with a standard compliant browser like Opera or Firefox, and see the
--- In svg-developers@yahoogroups.com, Cameron McCormack c...@... wrote:
huangshan04:
Does anybody know how to embed a swf file in a svg document?
What element should be used?
I donât know of any user agent that supports rendering WMF inside SVG.
If your SVG user agent supported WMF
The question is, what is del? What does it do?
Since you set the event listener at a use element I think it is
probably a problem with event.target vs. event.currentTarget. Is
anything reported on the error console when you click at the element?
You can try putting an alert right as the first
--- In svg-developers@yahoogroups.com, dakabbe daka...@... wrote:
1. I want to convert these charts in jpg/png without using batik
(because I havent java on my server) ... is there any other
command-line tool avaible?
ImageMagick can read SVG. I don't know how much of the specification
--- In svg-developers@yahoogroups.com, 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
Those examples are very impressive.
You're aware that something similar could be done with filters. But
not quite the same. One step in this would be using a Gaussian blur.
The Hello Lucifer example is one in which this wouldn't quite work.
It could look similar in the center, but because the
--- In svg-developers@yahoogroups.com, Helder Magalhães
helder.magalh...@... wrote:
Of course that, even in case it is an error, proper protection
should
exist in implementations (IMHO a crash is not acceptable
behavior)...
This inspired this week's strip of my SVG powered photo webcomic:
My guess would be that the a element with an empty xlink:href
attribute causes the browser to reload the same document when you
click it, after the code got executed.
Try replacing the a with g style=cursor:pointer;
Hopefully that'll fix it.
Regards,
Frank
--- In svg-developers@yahoogroups.com,
I didn't see this was solved already when I wrote my last message,
because this is spread out over four different threads now. Apparently
the list doesn't recognize a message belongs to the same topic if the
'Re:' comes before '[svg-developers]' in the subject line. However.
Instead of using the
You could do this with a clip path.
Sample code snippet:
defs
clipPath id=cp_poly1
use xlink:href=#poly1/
/clipPath
/defs
polygon id=poly1 points=... clip-path=url(#cp_poly1)
stroke=blue stroke-width=5px/
The stroke is drawn centered around the outline, but the outer part is
clipped by using
I don't think there's much value in doing so. Flash requires a plugin.
SVG is supported natively by most browsers. Raster graphic formats
don't support interactivity or links, and are often larger in file
size than SVG.
To provide fallback content in PNG or JPEG format Batik probably
provides the
You'd have to make svg the default namespace with
xmlns=http://www.w3.org/2000/svg;
then it should work.
Except maybe in Internet Explorer. I'm not sure how, or if, xslt and
plugins go together.
--- In svg-developers@yahoogroups.com, dupemenot [EMAIL PROTECTED] wrote:
Its weird that I have to
--- In svg-developers@yahoogroups.com, G. Wade Johnson [EMAIL PROTECTED]
wrote:
On Thu, 04 Dec 2008 06:12:30 -
Frank Bruder [EMAIL PROTECTED] wrote:
- Your testing method does not necessarily measure a relevant
benchmark. A scripting engine which queues events in such a way
Great work so far. Just three comments:
- You identify your platform and the user agents you've tested, but
since Batik is a Java application it would make sense to also state
which JVM version was used.
- Your testing method does not necessarily measure a relevant
benchmark. A scripting engine
To achieve this you would have to paint your mask in black on a white
background. Unfortunately there's no way to set a background color
for a mask. It's alway transparent/equivalent to black.
What you can do is place a white rectangle of large dimension as the
first element in your mask and
sample code:
var selection = document.getElementById(anyElement);
var bbox = selection.getBBox();
var cx = bbox.x + bbox.width/2;
var cy = bbox.y + bbox.height/2;
var width = 100;
var height = 100;
var x = cx-width/2;
var y = cy-width/2;
var image =
If they'd use the request header for browser switching, and send the
SVG content to browsers in which it works, then users might become
more aware that there's a difference.
I agree that it's interesting to know. There should be a variation on
the SVG logo which specifically stands for SVG
From my understanding that should work, and in some browsers it does.
To make it work in the other browsers too you could try it with
window.addEventListener(click, click, false);
or
document.documentElement.addEventListener(click, click, false);
Might be they don't both work the same way (if
As for SVG to PNG converters, Apache Batik does support SVG fonts. If
you show me the file with which you've tested it, I could probably
find the error.
--- In svg-developers@yahoogroups.com, caio ariede [EMAIL PROTECTED]
wrote:
I'm searching any editor that support full SVG 1.1 spec, including
Use the -a, -w, and -h options of the rasterizer. If, for example,
the image has a viewBox of 0 0 300 400 and you need 10 units
offset, your command could be
java -jar batik-rasterizer.jar -m image/jpeg -a -10,-10,320,420 -w
320 -h 420 -bg 255.255.255.255 mygraphic.svg
--- In
Testing in Firefox 3.0.1 showed that using 'xml:id' does not work.
But Firefox implements a Javascript function to evaluate XPath
expressions, so I figured it would be possible to find the element
this way. Here's the code for a function which works with both 'id'
and 'xml:id' in Firefox, and
When the slider is moved, you can call setCurrentTime() on the root
element
http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement
First you'll have to call pauseAnimations() so the animations will not
run when the slider isn't moved.
If you need to obtain any values for the time to which
Let p0, p1, p2, p3 denote the control points of a cubic Bezier curve.
p0 and p3 are the start and end point respectively. To get a better
idea of the following, you should take paper and pencil and draw a
sketch. Connect the control points with lines.
Now place three points, q0, q1, q2, halfway
SVG Tiny is targeted at devices with high restrictions in CPU speed
and memory size.
Just calculating the center point of an elliptical arc requires
calculation of a sqare root and trigonometric functions (see
http://www.w3.org/TR/SVG11/implnote.html#ArcConversionEndpointToCenter
), and is
--- In svg-developers@yahoogroups.com, Jake Beard [EMAIL PROTECTED]
wrote:
I was going to hold off on posting this until it had gone through a
few more iterations, but I am working on a script that transforms
svg,
either inline or embedded, into VML by leveraging dojox.gfx. The
project
Hi,
I wrote this list of ideas recently[12], and thought I should re-post
here those items which are SVG related (which is a majority of the
full list.)
Things I'd like to program if only I had the time. Please let me know
[1] if you're aware of already existing projects which come close to
The argument of the function fade should be called event, not
target. With the previously defined function getTarget, the first
part in fade can be simplified to
var target = getTarget(event);
Or otherwise you don't need to define an extra function for it.
Since you start the animation with
--- In svg-developers@yahoogroups.com, Hago Ziegler [EMAIL PROTECTED] wrote:
Andreas Neumann schrieb:
... Firefox doesn't support SVG fonts at all, currently.
Yes, I noticed in the meanwhile, that Firefox doesn't show
anything, when
I use SVG-Fonts.
What is the solution?
How can
function Grab(evt)
{
// find out which element we moused down on
var targetElement = evt.target;
// you cannot drag the background itself, so ignore any
attempts to mouse down on it
if ( BackDrop != targetElement )
{
When the feature strings don't work, here's a method I've been using.
Start your script delayed with a setTimeout command.
svg onload=startScript=window.setTimeout('animateIt()', 500) ...
and use the onbegin handler to cancel the script if declarative
animation starts
animate
You should put the animateTransform element behind the tspan. I don't
know about the current version, but some versions of Firefox didn't
display text, when something else than tspan, or a elements was
in the text element before the text. It is allowed, though, and
does work in other user
--- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote:
(Apologies for the cross-posting but there are folks in each place
who are not in both, and relevance might exist for folks in either
place)
I started wondering yesterday if I could make a color wheel.
In the page at
Hello,
everyone who publishes online comics in SVG format might be
interested in this. My comic lettering font, Tomson Talks, is now
available from the Open Font Library at
http://openfontlibrary.org/media/files/skotan/310
It is licensed under the SIL Open Font License. There are a lot of
--- In svg-developers@yahoogroups.com, Erik Dahlström [EMAIL PROTECTED] wrote:
On Thu, 04 Sep 2008 13:20:06 +0200, markdyson.13441 [EMAIL PROTECTED] wrote:
This is a follow-up to a question I asked several weeks ago.
Apologies for the delay, I had medical issues.
The question was
--- In svg-developers@yahoogroups.com, Richard Pearman [EMAIL PROTECTED]
wrote:
Sometimes filters do strange things, for example in the Book 1 title
page, the background should be black with stars (using a filter because
I couldn't be bothered drawing loads of stars - and it also saved
--- In svg-developers@yahoogroups.com, jimew123456789
[EMAIL PROTECTED] wrote:
Hello!
I want an animation to start at a specific time after a button is
pressed. For example change the color of a rect 5 seconds after Button
X is pressed and change the color of another rect 3 seconds after
The relevant specification is
http://www.w3.org/TR/SVG11/coords.html#Units
In SVG 1px is defined to be equal to one user unit, even if the
viewBox, width, and height attributes are such that one user unit does
not get mapped to one physical pixel. Other units are derived from px
based on how many
--- In svg-developers@yahoogroups.com, pete.haikonen
[EMAIL PROTECTED] wrote:
Dear list,
say I have a path:
path d=M 1 2 C 3 4 5 6 7 8 /
i.e. 4 curve points. Please, how do I change the position of a point?
In Javascript? One way is to rebuild the d attribute and re-assign
it but there
--- In svg-developers@yahoogroups.com, cwflamont [EMAIL PROTECTED]
wrote:
Should Opera do this?:
http://www.gateho.nildram.co.uk/temp/graphics/SVG/
svg_circle_object_onload_debug.html
Surely the colour should change before the final alert appears?
I was quite surprised to have Safari
--- In svg-developers@yahoogroups.com, cwflamont [EMAIL PROTECTED]
wrote:
My own attempts are at:
http://www.gateho.nildram.co.uk/temp/graphics/SVG/
...
Viewing the source of these in Ff shows that something is stripping
out the '--' after the first 'endif', which I do not understand
I also had that problem. In mathematical graphics the positive y axis
usually points upwards. Using a different coordinate system for
positioning the text is not quite elegant. My solution is, when
you've got a text which is inside a group with transform=scale(1,-
1) then instead of
text x=1
and
rasterizing directly out of the file manager - be it on Windows,
Mac
or Linux.
So if you could provide a more complete description on how to
achieve
this, it would really help.
Thanks,
Andreas
--- In svg-developers@yahoogroups.com, Frank Bruder redurbf@
wrote:
Or you can
Using the values attribute with only two values should have the same
effect as using from and to. (If no keyTimes or the like are used, at
least.) No matter if those values are different or equal to each
other. So values=400;400 would still produce just the same effect
as from=400 to=400 or
Hi, Hago,
regarding the 'quasi-normal IE-problems', you wrote it works locally
but not over HTTP. I've had the same problem once and found that it
does not occur when embed is used.
The problem also seems to be solved by adding a param like this:
object data=HC.svg type=image/svg+xml
You could add V0H0z to the end of the path data and instead of
using stroke set stroke to none and fill to any color you like.
Without a stroke, using transform would not yield ugly results.
If you wish to use a stroke then you could use Javascript to rescale
the path data. The source code
Or you can write a batch file with your favoured options and %1 in
place of FILES and add it as an action for the file type SVG. This
way you can just right click on an SVG file and start the pretty
printer from the context menu. I don't use pretty printer, but that's
the way I use ttf2svg and
.
Prem
From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Frank Bruder
Sent: Tuesday, January 22, 2008 5:13 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: Begin and End
Hi,
at the begin
Hi,
would be great if full 3x3 matrices--without the third row implicitly
set to [0 0 1]--were allowed for transform values. This would allow
for perspective distortions. But I'm not sure if this wouldn't be too
difficult for implementors since singularities (the horizon) would
need to be
--- In svg-developers@yahoogroups.com, ~:''
ã#65533;ãã#65533;ã#65533;¨ã#65533;ã#65533;ã#65533;
ã#65533;ã#65533;¾ã#65533;ã#65533;ã [EMAIL PROTECTED] wrote:
Frank,
where is the documentation describing keyboard control for Squiggle?
this is really interesting for me, as iirc it's
I thought your code would be supposed to work, but accumulate=sum
seems to work with a repeatCount but not with multiple occurences of
a begin value in both Batik 1.7 Squiggle and ASV3. And in Opera
accumulate doesn't work at all.
The specification of the SMIL Animation Module seems not to be
Have you tried
xlink:href=# ?
Does this also make Safari reload the document?
But setting cursor=pointer on a g element works for me with Opera
9.25. Do you really need to fully support older versions?
--- In svg-developers@yahoogroups.com,
ons.renderman [EMAIL PROTECTED] wrote:
Good
Well, I wouldn't have expected your approach to work because: How
would IE know that the stylesheet processing instruction is to be
handed to ASV? And there doesn't seem to be a way to do this.
I tried placing the stylesheet in an svg:style element inside the
svg:svg element. I thought if this
Hi,
This following code throws a null error in Batik, though for the
life of me I don't know why:
By null error, do you mean a null pointer exception?
I see two things in the code which aren't very clean. But I don't
know if they would cause an error in Batik, or
--- In svg-developers@yahoogroups.com, Richard
Pearman [EMAIL PROTECTED] wrote:
Hi,
Yeah so I tryed putting some roll-overs and links into the SVG
version
of the picture (which now says that the user CAN see SVG files).
The
links work but the javascript (in the SVG file and the XHTML
You could try using a wallclock-sync-value for begin.
i.e. begin=wallclock(0s)
As far as I know, that's not supported in either Opera
or ASV. But for user agents supporting scripting you
can still set the begin attribute at load time.
I have no idea if any mobile phones do support
To animate transform values you need to use an
animateTransform element try:
animateTransform attributeName=gradientTransform
dur=5s repeatCount=indefinite
type=rotate values=0 .5 .5;360 .5 .5/
that should work.
Frank
--- In svg-developers@yahoogroups.com, David Dailey
[EMAIL PROTECTED]
Hi, Damian,
it sounds like the id attributes of dynamically added
content are not processed properly so referencing them
would not work. Have you also tried it with graphics
containing use elements? I guess they wouldn't work
either.
I'm not sure if that really is the source of the problem.
If
64 matches
Mail list logo