diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
commit | 35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch) | |
tree | 657d15a03cc46bd099fc2c6546a7a4ad43815d9f /share/extensions/hershey.inx | |
parent | Initial commit. (diff) | |
download | inkscape-upstream.tar.xz inkscape-upstream.zip |
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/hershey.inx')
-rwxr-xr-x | share/extensions/hershey.inx | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/share/extensions/hershey.inx b/share/extensions/hershey.inx new file mode 100755 index 0000000..e891b82 --- /dev/null +++ b/share/extensions/hershey.inx @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Hershey Text</name> + <id>org.evilmad.text.hershey</id> + + <param name="tab" type="notebook"> + <page name="render" gui-text="Render"> + +<label indent="1" appearance="header" xml:space="preserve"> +Hershey Text +</label> + +<label indent="2" xml:space="preserve">A tool to replace text with stroke fonts + +Version 3.0.4, 2020-06-01 + + +</label> + + <param indent="1" 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> + + <!-- Block below this are derived from fonts licensed under SIL Open Font License --> + <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> + <!-- Block above this are derived from fonts licensed under SIL Open Font License --> + + <option value="other">Other (given below)</option> + </param> + +<label xml:space="preserve"> +Other SVG font name or path (if "Other" selected above): +</label> +<param name="otherfont" type="string" indent="2" gui-text="Name/Path:">HersheySans1</param> + +<param name="preserve" indent="4" type="bool" gui-text="Preserve original text" >false</param> + +</page> + +<page name="utilities" gui-text="Utilities"> + <label appearance="header" xml:space="preserve"> +Hershey Text Utility Functions + </label> + + <param indent="2" name="action" type="optiongroup" appearance="combo" gui-text="Action:"> + <option value="sample" >Generate font table</option> + <option value="table" >Generate glyph table in selected font</option> + </param> + + <label xml:space="preserve"> + +Sample text to use when generating font table:</label> +<param indent="2" name="text" type="string" gui-text="Text:"> +The Quick Brown Fox Jumps Over a Lazy Dog</param> + +</page> + + + <page name="help" gui-text="About"> + <label xml:space="preserve"> +This extension renders all text (or all selected text) +in your document into using specialized "stroke" or +"engraving" fonts designed for plotters. + +Whereas regular "outline" fonts (e.g., TrueType) work +by filling in the region inside an invisible outline, +engraving fonts are composed only of individual lines +or strokes; much like human handwriting. + +Engraving fonts are used for creating text paths that +computer controlled drawing and cutting machines (from +pen plotters to CNC routers) can efficiently follow. + +A complete user guide is available to download at: + http://wiki.evilmadscientist.com/hershey + +For extended help, click "Apply" with this tab selected. + + </label> +</page> + + +<page name="info3" gui-text="Credits"> +<label xml:space="preserve"> +The classic Hershey fonts included are derived from +work by Dr. A. V. Hershey. + +Additional modern "EMS" fonts in this distribution are +derivatives created from fonts licensed under the SIL +Open Font License. + +For full credits and license information, please read the +credits embedded within the SVG fonts included with this +distribution. +</label> + +</page> +</param> + + <effect needs-live-preview="true"> + <object-type>all</object-type> + <effects-menu> + <submenu name="Text"/> + </effects-menu> + </effect> + <script> + <command location="inx" interpreter="python">hershey.py</command> + </script> +</inkscape-extension> |