<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  <name>Hershey Text</name>
  <id>org.knoxmakers.hershey</id>

  <param name="fontface" type="optiongroup" appearance="combo" gui-text="Font face:">
    <option value="HersheySans1">Hershey Sans 1-stroke</option>
    <option value="HersheySansMed">Hershey Sans Medium</option>
    <option value="HersheySerifMed">Hershey Serif Medium</option>
    <option value="HersheySerifMedItalic">Hershey Serif Medium Italic</option>
    <option value="HersheySerifBold">Hershey Serif Bold</option>
    <option value="HersheySerifBoldItalic">Hershey Serif Bold Italic</option>
    <option value="HersheyScript1">Hershey Script 1-stroke</option>
    <option value="HersheyScriptMed">Hershey Script Medium</option>
    <option value="HersheyGothEnglish">Hershey Gothic English</option>
    <option value="EMSAllure">EMS Allure</option>
    <option value="EMSElfin">EMS Elfin</option>
    <option value="EMSFelix">EMS Felix</option>
    <option value="EMSNixish">EMS Nixish</option>
    <option value="EMSNixishItalic">EMS Nixish Italic</option>
    <option value="EMSOsmotron">EMS Osmotron</option>
    <option value="EMSReadability">EMS Readability</option>
    <option value="EMSReadabilityItalic">EMS Readability Italic</option>
    <option value="EMSTech">EMS Tech</option>
    <option value="CutlingsSingularis">Cutlings Singularis</option>
    <option value="CutlingsDualis">Cutlings Dualis</option>
    <option value="CutlingsPluralis">Cutlings Pluralis</option>
    <option value="CutlingsGeometric">Cutlings Geometric</option>
    <option value="CutlingsGeometricRound">Cutlings Geometric Round</option>
  </param>

  <spacer/>

  <param name="tab" type="notebook">
    <page name="generate" gui-text="Generate">
      <param name="fontsize" type="float" min="1" max="1000" gui-text="Font size (px):">20</param>
      <spacer/>
      <param name="usertext" type="string" appearance="multiline" max-length="5000" gui-text="Text to generate:">The Quick Brown Fox Jumps Over The Lazy Dog</param>
    </page>

    <page name="render" gui-text="Convert">
      <label>Convert existing text objects in the document to stroke paths.</label>
      <spacer/>
      <param name="preserve" type="bool" gui-text="Preserve original text">false</param>
    </page>

    <page name="utilities" gui-text="Utilities">
      <param name="action" type="optiongroup" appearance="combo" gui-text="Action:">
        <option value="sample">Generate font table</option>
        <option value="glyph">Generate glyph table</option>
      </param>
    </page>
  </param>

  <effect needs-live-preview="true">
    <object-type>all</object-type>
    <effects-menu>
      <submenu name="Knox Makers">
        <submenu name="Laser"/>
      </submenu>
    </effects-menu>
  </effect>

  <script>
    <command location="inx" interpreter="python">hershey.py</command>
  </script>

</inkscape-extension>
