[svg-developers] Re: Resolution

2005-03-21 Thread Andreas Neumann


no, SVG, as a vector graphics, does not have a resolution. 
 
Of course, if you implement SVG you have to decide on the data types 
to use. Depending on the data type you use to represent the SVG 
coordinates, you will have a certain range of possible values, hence 
a resolution ... but otherwise, no. 
 
If you rasterize SVG you have to define at what resolution you want 
to rasterize the graphics. 
 
Andreas 
 
--- In svg-developers@yahoogroups.com, pukkypa [EMAIL PROTECTED] 
wrote: 
  
 hi all, 
 i've question about resolution of svg. does svg have 
resolution like  
 the raster graphics? if i convert svg to raster graphics ex. 
jpeg,how i  
 know they have the same resolution? 
 Regards, 
   pukky 





-
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/

* 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/
 





Re: [svg-developers] Re: Opera Desktop now with native SVG

2005-03-21 Thread Holger Will

Hi Andreas


 just wanted to give some feedback on my Opera SVG tests:

thanks.

 Does anyone know a tool that can open SVG 1.1 (full profile) and save
 it to the SVG tiny profile? Would need to change symbols/patterns to
 flat SVG elements ...

im not sure, havent tried yet, but evolgrafix XStudio6 can save as SVG, 
SVGB and SVGT. thought i dont know how
it handles conversion between the profiles.
http://www.evolgrafix.de


 Andreas

greetings
Holger


-
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/

* 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/
 





Re: [svg-developers] weather fronts with textPath and custom font

2005-03-21 Thread Holger Will

Heiko Niemann wrote:


 Hi,

 http://www.zuccaralloo.de/devgroup/samples/weatherFronts.svg

 shows a sample using textPath, a custom font and custom elements to
 generate weather front curves. The attributes of the custom elements
 determine the size, type and space in between the front symbols. The
 actual space between the symbols will be adjusted to the length of the
 path and the number of intervals calculated to fit on the path. Thus a
 front will have this order: 1/2length of space - symbol - space - ...
 -  space - symbol - 1/2length of space.

 Anyhow, this probably needs some improvements but maybe somebody has
 use for it or will modify it to fit their needs.

 download (including the map) at:
 http://www.zuccaralloo.de/devgroup/content.php?m=messages

 Regards-
 -Heiko

Hi Heiko

ive  one idea to improve the script.
in line 43

svgRoot.appendChild(group);

should be

front.parentNode.insertBefore(group,front)

so you can place the fopa:front elements anywhere in your document.
beside that, it looks really cool.
nice work.


cheers
holger



-
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/

* 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/
 





[svg-developers] Saving SVG to User's Machine

2005-03-21 Thread HektorK

Hi all,

I want to put a command in a Web page to save the contents of an SVG 
document to a file in the user's machine. Basically it should open a 
Dialog to let the user specify the location of the file. Users will be 
running Windows and Internet Explorer 6.

Any idea how can I do that?

Thanks,

Hektor Konomi
frogware, inc
477 richmond street west, suite 210
toronto, on m5v 3e7
tel.: 416 216 4700 ext. 170
fax: 416.216.4666
e-mail: [EMAIL PROTECTED]

[Non-text portions of this message have been removed]



-
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/

* 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/
 





[svg-developers] How to write the content of the SVGDom with a pretty format?

2005-03-21 Thread troy_wang0614


I tried to use DOM4j like this:
  XMLWriter writer =new 
 XMLWriter(OutputFormat.createPrettyPrint());
  writer.write(doc);

But the format of the result is not PrettyPrint, like this:
ab c=3/b/a

And I want to get the format like this:
a
  b c=3
  /b
/a
How to?Thx
  
  
 
 
   





-
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/

* 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/
 





[svg-developers] Printing on Mac OS X via Safari (doesn't print)

2005-03-21 Thread yahoo


I recently downloaded and installed the SVG viewer for OS X 
(looks like it hasn't been updated in years). .svgz images 
display, but they do not print. What good is SVG if it doesn't 
print? Is it a Safari problem? Can someone please tell me if and 
how and exactly where printing is supported in OS X?

I'm using Safari 1.0.3 (v85.8.1) on Mac OS X 10.2.8.

Adobe's Web page says Mac 10.1 - 10.5 (!) is supported.


thanks,
-Walter






-
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/

* 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/
 





[svg-developers] Re: Resolution

2005-03-21 Thread pukkypa


hi ,
   if i'll compare the size between svg file and jpeg file at the same 
resolution, how i can do ?  
   or the best resoltion in  jpeg is equal the svg ??
   thanks in advance
 pukky
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
wrote:
 Andreas Neumann wrote:
 
 
  no, SVG, as a vector graphics, does not have a resolution.
 
  Of course, if you implement SVG you have to decide on the data 
types
  to use. Depending on the data type you use to represent the SVG
  coordinates, you will have a certain range of possible values, hence
  a resolution ... but otherwise, no.
 
  If you rasterize SVG you have to define at what resolution you want
  to rasterize the graphics.
 
 which you can do in ASV with  a processing instruction. here is the 
 paragraph from the implementation whitepaper:
 
 
 Processing Instructions
 
 The only non-standard processing instruction 
 http://www.w3.org/TR/REC-xml#sec-pi currently recognized is 
 |AdobeSVGViewer|. If present it must appear before the root 
|svg| 
 element. This processing instruction supports the following optional 
 attribute-like parameters:
 
 OptionNotes
 resolutionThis specifies the minimal rendering resolution 
when 
 rasterization is required (e.g. for printing and ActiveX embedding in 
 Microsoft Office). The value should be a number, which is interpreted 
as 
 dots per inch.
 # saveValid values are: disable: causes all menu options that deal 
 with accessing SVG source to be removed.
 # snapshot: causes the save option to save a snapshot of the DOM 
rather 
 then a copy of original file. This setting is also used to allow ActiveX 
 hosts to save SVG files.
 # original: normal operation--save as saves the original file.
 
 Sample usage: |?AdobeSVGViewer resolution=300 
save=disable?|
 
 
 
 
  Andreas
 
  --- In svg-developers@yahoogroups.com, pukkypa 
[EMAIL PROTECTED]
  wrote:
   
   hi all,
   i've question about resolution of svg. does svg have
  resolution like 
   the raster graphics? if i convert svg to raster graphics ex.
  jpeg,how i 
   know they have the same resolution?
   Regards,
 pukky
 
 





-
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/

* 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/
 





[svg-developers] Re: Printing on Mac OS X via Safari (doesn't print)

2005-03-21 Thread yahoo


PS. I'm using an Epson C82, if that makes any diff (shouldn't).





-
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/

* 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/
 





[svg-developers] Re: Printing on Mac OS X via Safari (doesn't print)

2005-03-21 Thread yahoo


Further testing:

Firefox does not print .svgz files. I saved the image as .svg 
(uncompressed) and was able to open and print it in Firefox.

However, when I tried to open that same file in Safari, I could 
not open it -- kept getting redirected to Finder, no matter how I 
messed with bindings (More Internet, RCDefaultApp, MisFox, file 
type/creator setting, etc.).

Has anyone else figured all this out and can save me the time of 
re-figuring it out?

None of this should be necessary. It should just work.

I'm having second thoughts about even bothering with SVG.
Can someone give me confidence in this thing?


thanks,
-Walter





-
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/

* 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/
 





Re: [svg-developers] ready status

2005-03-21 Thread Ralf Siegel

Hi Maciek,

did you find out meanwhile?

ralf ...

At 17:09 28.02.2005 +, you wrote:


Folks,

any idea how to be 100% sure ASV has finished processing of SVG?
E.g. I set a transform attribute to the value rotate(45). It is a
very big g element, so the processing takes a few seconds.
Once I get back the control I understand ASV has finished, but I can
see, that the processor is still busy for another amount of time and
pressing Alt or Ctrl doesn't change the cursor to the standard one
(e.g. a hand symbol when alt is pressed). Due to some reasons I
really would like to know when the ASV hs finished its job. I use
WebBrowser activeX to display SVG.
I used readyStatus (it doesn't work properly while loading, so I event
didn't try while manipulating of svg). I also tried some WebBrowser
events but the event was raised before ASV has really finished. I
assume from this bahaviour, ASV has its own thread for rendering. Is
there any chance to get the point in time when it's really finished?




-
Ralf Siegel - Freelance Developer
Recommended Listening: Under Byen - Live in Haldern 2003
http://www.underbyen.dk
-



-
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/

* 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/