[Xcircuit-dev] How to convert xcircuit ps or eps to svg

Tim Edwards tim at opencircuitdesign.com
Tue Jul 14 18:03:09 PDT 2009


Dear Svenn,

> I realize that the zoom level in xcircuit has implications on the size
> of the resulting svg graphics, at least when I open the svg in
> inkscape. I don't know if this is a bug or a feature as it will
> provide me with a possibility to fit the xcircuit artwork to the size
> of an A4 page if needed. On the other side, a batch processing will
> not work out well, but that is maybe a totally different topic.

I threw in a couple more updates today.  First, I worked out what
to do with the header, which now is written such that the SVG output
renders an entire page, and the "width" and "height" lines in the
header default to sizing the page the way the "output properties"
window declares the scale (in inches or centimeters).  Changing these
width and height sizes in the header allows the drawing to be scaled
in the target application.

I have used "gimp" to confirm the import with a tool other than Firefox.
"gimp" correctly handles Symbol fonts, which I can't get Firefox to (I
may be missing some Unicode outline fonts).  A colleague at work
confirmed that he could import the SVG into Adobe FrameMaker.
Supposedly OpenOffice Draw will import SVG, but my version is either
not recent enough, or I'm missing the plug-in, because I don't see any
way to do it.

I added overline and underline handling in text drawing, so apart from
the inability to generate a multi-page document, I can't think of
anything I'm missing, so unless anyone is clamboring for the multi-
page document output, I'm going to consider the SVG code done (apart
from bug fixes).

					---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim at opencircuitdesign.com    |
| Open Circuit Design, Inc.      | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+


More information about the Xcircuit-dev mailing list