SVG (Scalable Vector Graphics) files are XML files, so they can be translated in DVX3 using the SGML/XML filter. We have created a filter definition file that you can use with the XML filter to extract text from an SVG file.
To import an SVG file
This shows the recommended settings for the XML filter when used to import SVG files:
You can also modify the default filter options so that Déjà Vu will automatically detect when you are adding SVG files to a project and use the right filter with the right configuration. This article explains who to do this.
To export an SVG file
When you export an SVG file, you should make sure that you are using the right export options. It is also possible that you may run into a problem that happens occasionally that will require you to open the exported file with a text editor and make a small correction.
Configure the export options
You should make sure that the encoding used to export SVG files is Unicode (UTF-8).
Fix exported files
Occasionally, an SVG file exported from Déjà Vu will not open correctly in other applications. For example, one such file opened in Google Chrome will result in this:
In Internet Explorer nothing will be displayed.
This happens because the first line in the file is incorrect. If you open the exported SVG file with a text editor (e.g. Notepad or Notepad++), you will see that the first line looks like this:
<?xml version="1.0" standalone="no" encoding="utf-8" ?>
It should instead look like this:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
You can make this change yourself in the text editor and save the changes. After doing this, the exported SVG file will open correctly.