blob: 35489d8e489ffb2b817d388ec191181b9402a645 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
<?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">A tool to replace text with stroke fonts</label>
<label indent="3" translatable="no" xml:space="preserve">Version 3.0.5, 2021-05-17
</label>
<param indent="1" name="fontface" type="optiongroup" appearance="combo" gui-text="Font face:">
<option value="HersheySans1" context="Font name">Hershey Sans 1-stroke</option>
<option value="HersheySansMed" translatable="no">Hershey Sans medium</option>
<option value="HersheySerifMed" translatable="no">Hershey Serif medium</option>
<option value="HersheySerifMedItalic" context="Font name">Hershey Serif medium italic</option>
<option value="HersheySerifBold" context="Font name">Hershey Serif bold</option>
<option value="HersheySerifBoldItalic" context="Font name">Hershey Serif bold italic</option>
<option value="HersheyScript1" context="Font name">Hershey Script 1-stroke</option>
<option value="HersheyScriptMed" context="Font name">Hershey Script medium</option>
<option value="HersheyGothEnglish" translatable="no">Hershey Gothic English</option>
<!-- Block below this are derived from fonts licensed under SIL Open Font License -->
<option value="EMSAllure" translatable="no">EMS Allure</option>
<option value="EMSElfin" translatable="no">EMS Elfin</option>
<option value="EMSFelix" translatable="no">EMS Felix</option>
<option value="EMSNixish" translatable="no">EMS Nixish</option>
<option value="EMSNixishItalic" translatable="no">EMS Nixish Italic</option>
<option value="EMSOsmotron" translatable="no">EMS Osmotron</option>
<option value="EMSReadability" translatable="no">EMS Readability</option>
<option value="EMSReadabilityItalic" context="Font name">EMS Readability Italic</option>
<option value="EMSTech" translatable="no">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>
|