Dear Svenn,

> I'll end this monologue for now by adding that, based on the
> description from the wikipedia page above, I looked for alternative
> tools that pstoedit supports that also can convert to svg. Good old
> xfig came to a rescue. Its conversion tool, fig2dev, has a beta
> support for svg, and pstoedit -f fig circuit.ps circuit.fig, followed
> by a
> fig2dev -L svg circuit.fig circuit.svg, give me a nice svg that just
> fits the circuit that I drew in xcircuit.

Just knowing that xfig has beta support for svg is a good start,
because in my first attempt to incorporate SVG output in xcircuit,
I came up with very little in the way of open-source code, or any
good description of the SVG format, for that matter.  I'll take a
look at xfig and perhaps I can grab some code to create a proper
output formatter for xcircuit.

XCircuit used to have a "general purpose" format that came with the
Python version, which I didn't transfer to Tcl because Tcl didn't
have dictionary types.  Now that Tcl 8.5 does have dictionary types,
I may try to resurrect the general-purpose format and write an SVG
output converter in Tcl.

                                                ---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: [email protected]    |
| Open Circuit Design, Inc.      | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to