## Scribus SVG Import/Export

Scribus includes SVG import/export plug-ins, which enables you to export Scribus pages or objects as SVG. The import plug-in allows you to import SVG drawings and documents from illustration programs like Inkscape, Skencil and Adobe Illustrator.

These plug-ins have the capability to import and export SVG 1.0/1.1 standards 2D graphics primitives and text, which can then be displayed in web browsers with SVG capability, within SVG viewers or further edited with SVG capable vector editors, like Skencil, Inkscape or Adobe Illustrator.

#### Exporting using the Plug-in:

Export the whole page is simply have the page you want to be exported open, and use File > Export > Export Page as SVG..

#### Importing using the Plug-in:

Go File..>Import SVG Image When you import an SVG image or drawing, it will appear like an object from the Scrapbook. Drag the cursor where you want to place the SVG image.

#### SVG Importing Hints:

Scribus can handle most of the SVG features which can be created in Inkscape and Sketch, two well known vector drawing programs for Linux. The biggest issue I have observed is sometimes the paths when interpreted do not show up as closed. So parts of the SVG file look empty upon import. The simple fix is to ungroup the elements and then select the empty looking objects, then double click to bring up the editing palette for drawing objects and click on the close path button. Typically, then the invisible object will appear.

I strongly recommend against creating special text effects in SVG, unless a: It cannot be done in Scribus and Scribus has very versatile text effect tools. b: The text effects are converted to outlines before importation. Why ? Scribus uses a PostScript model for handling fonts and text, where SVG uses a model much like html. In the case where you need to create them in another program, converting the text to outlines will be far more satisfactory.

### Scribus - SVG Q and A

#### What is an SVG?

SVG (Scalable Vector Graphics) is a W3C recommended standard for vector graphics like line drawings, maps and logos.

#### Why add SVG Export to Scribus?

Increasingly, Scribus has more sophisticated drawing tools, which are both familiar and easy to use. End users might like to use Scribus created objects in other applications like web design. Many other applications can import SVG and export an SVG object into other file formats. This also makes it easy for your print and web objects to be created from the same source.

#### What features can I export with the plug-in?

Basic 2D graphics and text. Text on a path works sometimes with other applications, sometimes not. Adobe Illustrator and Inkscape (increasingly) both do a good job of importing Scribus SVG. Almost all features in a Scribus doc can be exported as SVG. Images within a page are converted to PNG. The Amaya Web browser will also display Scribus SVG. More and more browsers have native SVG rendering built in.

#### What features are not supported

The current version of the SVG-Import Plug-in has the following limitations:

1. Text isn't supported fully yet.
2. Not all gradient styles are fully supported.
3. No support for masking and clipping
4. Embedded SVG-Images aren't supported.
5. The SVG should be well formed, with all tags and structures should be correct. Corrupted SVGs could crash the plug-in.
6. Animations, multi-media and "extensions" or proprietary tags within SVG, which can only be viewed with certain viewers.

#### Why SVG?

SVG as a file format has many advantages:

- Easy to implement. The SVG file format is based on XML and has many similarities to Scribus' native file format.
- SVG is a scalable vector graphics, so graphics do not become pixellated when zoomed.
- They are in XML format, text based and quick to load - much smaller than bitmap images. A typical SVG file is under 10k.
- SVG is an open XML-based standard from the W3 consortium
- It is platform neutral
- Can be scripted for user interaction and control. Also has support for ICC color spaces so color display accurately, even within a browser.
- SVG can also be color managed and supports a well defined way to specify ICC profiles.

#### What about browser support?

Firefox 1.5+, Konqueror 3.4.0+, Opera and Safari support SVG natively.

#### Where can I learn more?

SVG Foundation has a wealth of links and news.

Other links are listed in the Links page

#### A Scribus page displayed in a browser: