summaryrefslogtreecommitdiffstats
path: root/share/extensions/doc_ai_convert.inx
blob: 0f9ccafacfb790a1d55c8e89d8ab3f84bf49bd56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
      <name>Process Illustrator SVG</name>
      <id>org.inkscape.doc_ai_convert</id>
      <label appearance="header" indent="2">Process Illustrator SVG</label>
      <label xml:space="preserve" indent="1">
Apply this extension after opening an SVG file
    exported from Adobe Illustrator to:

(1) Recognize and import named layers.

(2) Correct document scale, if necessary.
    (Illustrator may export SVG at 75% of correct size.)
</label>
     <spacer/>
     <separator />
     <spacer/>
      <label appearance="header" indent="2">How to export SVG from Illustrator</label>
      <label xml:space="preserve" indent="1">For best results when exporting from AI:
* When naming layers in AI, either:
    * Use just a number as the layer name, or
    * Include a space in each layer name
* Use File > Export > Export As...
* Check the "Use Artboards" option
* Select the SVG format option and click Export
* Styling: Presentation attributes
* Object IDs: Layer names
* Minify, Responsive: Both off
</label>
      <effect needs-live-preview="false">
        <object-type>all</object-type>
        <effects-menu>
          <submenu name="Document"/>
        </effects-menu>
      </effect>
      <script>
        <command location="inx" interpreter="python">doc_ai_convert.py</command>
      </script>
</inkscape-extension>