| 
									
										
										
										
											2021-03-04 17:40:53 +00:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							| 
									
										
										
										
											2021-09-26 09:42:17 +00:00
										 |  |  | <inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension"> | 
					
						
							|  |  |  |     <name>Generate JSON</name> | 
					
						
							| 
									
										
										
										
											2024-02-07 20:23:05 +00:00
										 |  |  |     <id>org.{{ id_inkstitch }}.lettering_generate_json</id> | 
					
						
							| 
									
										
										
										
											2021-03-04 17:40:53 +00:00
										 |  |  |     <param name="extension" type="string" gui-hidden="true">lettering_generate_json</param> | 
					
						
							|  |  |  |     <effect needs-live-preview="false"> | 
					
						
							|  |  |  |         <object-type>all</object-type> | 
					
						
							|  |  |  |         <effects-menu> | 
					
						
							| 
									
										
										
										
											2024-02-07 20:23:05 +00:00
										 |  |  |             <submenu name="{{ menu_inkstitch }}" translatable="no"> | 
					
						
							| 
									
										
										
										
											2021-09-26 09:42:17 +00:00
										 |  |  |                 <submenu name="Font Management" /> | 
					
						
							| 
									
										
										
										
											2021-03-04 17:40:53 +00:00
										 |  |  |             </submenu> | 
					
						
							|  |  |  |         </effects-menu> | 
					
						
							|  |  |  |     </effect> | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-22 19:49:35 +00:00
										 |  |  |     <param name="notebook" type="notebook"> | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  |       <page name="general" gui-text="Font info"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <param type="string" name="font-name" gui-text="Name" indent="1" /> | 
					
						
							|  |  |  |         <param type="string" name="font-description" gui-text="Description" indent="1" /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  |         <separator indent="1"/> | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <param type="path" name="font-file" gui-text="SVG Font File" indent="1" mode="file" filetypes="svg"/> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  |         <separator indent="1"/> | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-21 06:35:43 +00:00
										 |  |  |         <label appearance="header" indent="1" > | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  |             Keywords | 
					
						
							| 
									
										
										
										
											2023-10-21 06:35:43 +00:00
										 |  |  |         </label> | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  |         <hbox> | 
					
						
							|  |  |  |             {%- for category in font_categories %} | 
					
						
							|  |  |  |             {%- if loop.index is divisibleby 4 %} | 
					
						
							|  |  |  |         </hbox> | 
					
						
							|  |  |  |         <hbox> | 
					
						
							|  |  |  |             {%- endif %} | 
					
						
							|  |  |  |             <param type="bool" name="{{ category.id }}" gui-text="{{ category.name }}" indent="1">false</param> | 
					
						
							|  |  |  |             {%- endfor %} | 
					
						
							|  |  |  |         </hbox> | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       </page> | 
					
						
							|  |  |  |       <page name="settings" gui-text="Settings"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  |         <param type="string" name="default-glyph" gui-text="Default Glyph" indent="1">�</param> | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <hbox> | 
					
						
							|  |  |  |           <vbox> | 
					
						
							|  |  |  |             <param type="bool" name="auto-satin" gui-text="Autoroute Satin" | 
					
						
							|  |  |  |                    gui-description="Disable if you defined manual routing in your font." indent="1">true</param> | 
					
						
							|  |  |  |             <param type="bool" name="reversible" gui-text="Reversible" | 
					
						
							|  |  |  |                   gui-description='If disabled back and forth stitching will not be possile for this font.' indent="1">true</param> | 
					
						
							|  |  |  |             <param name="letter-case" type="optiongroup" appearance="combo" gui-text="Force letter case" indent="1"> | 
					
						
							|  |  |  |                      <option value="">No</option> | 
					
						
							|  |  |  |                      <option value="upper">Upper</option> | 
					
						
							|  |  |  |                      <option value="lower">Lower</option> | 
					
						
							|  |  |  |             </param> | 
					
						
							|  |  |  |             </vbox> | 
					
						
							|  |  |  |             <vbox indent="20"> | 
					
						
							|  |  |  |             <param name="size" type="float" precision="1" min="1" max="1000" gui-text="Size" indent="1">15</param> | 
					
						
							|  |  |  |             <param name="min-scale" type="float" precision="1" min="0.1" max="1" gui-text="Min Scale" indent="1">1</param> | 
					
						
							|  |  |  |             <param name="max-scale" type="float" precision="1" min="1" max="10" gui-text="Max Scale" indent="1">1</param> | 
					
						
							|  |  |  |           </vbox> | 
					
						
							|  |  |  |         </hbox> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       </page> | 
					
						
							|  |  |  |       <page name="kerning" gui-text="Kerning"> | 
					
						
							| 
									
										
										
										
											2023-10-21 06:35:43 +00:00
										 |  |  |         <label appearance="header" indent="1" >Kerning</label> | 
					
						
							|  |  |  |         <label indent="1" > | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  |             If your font file contains kerning information, you can completely ignore the following settings (unless you want to overwrite them). | 
					
						
							|  |  |  |             If the kerning information cannot be found, these values will apply automatically. | 
					
						
							| 
									
										
										
										
											2023-10-21 06:35:43 +00:00
										 |  |  |         </label> | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  |         <hbox indent="1"> | 
					
						
							|  |  |  |           <param name="use-custom-leading" type="bool" gui-text="Force" indent="1" | 
					
						
							|  |  |  |                  gui-description="Overwrite leading information from font file.">false</param> | 
					
						
							|  |  |  |           <param name="leading" type="int" precision="1" min="-100" max="500" gui-text="Leading (px)" | 
					
						
							|  |  |  |                  gui-description="Line height (default: 100)" indent="1">100</param> | 
					
						
							|  |  |  |         </hbox> | 
					
						
							|  |  |  |         <spacer /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <hbox indent="1"> | 
					
						
							|  |  |  |           <param name="use-custom-spacing" type="bool" gui-text="Force" indent="1" | 
					
						
							|  |  |  |                  gui-description="Overwrite word spacing information from font file.">false</param> | 
					
						
							|  |  |  |           <param name="word-spacing" type="int" precision="1" min="-100" max="500" gui-text="Word spacing (px)" | 
					
						
							|  |  |  |                  gui-description="Space character width (default: 20)" indent="1">20</param> | 
					
						
							|  |  |  |          </hbox> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |          <spacer /> | 
					
						
							| 
									
										
										
										
											2024-05-22 19:49:35 +00:00
										 |  |  |          <separator indent="1"/> | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |       </page> | 
					
						
							| 
									
										
										
										
											2024-05-22 19:49:35 +00:00
										 |  |  |       <page name="info" gui-text="Help"> | 
					
						
							|  |  |  |           <label appearance="header">Generates font.json which can be used by the lettering tool.</label> | 
					
						
							|  |  |  |           <label>The generated file can be viewed and updated with a standard text editor tool.</label> | 
					
						
							|  |  |  |           <spacer /> | 
					
						
							|  |  |  |           <label>More information on our website</label> | 
					
						
							|  |  |  |           <label appearance="url">https://inkstitch.org/docs/font-tools/#generate-json</label> | 
					
						
							|  |  |  |       </page> | 
					
						
							| 
									
										
										
										
											2021-03-04 17:40:53 +00:00
										 |  |  |     </param> | 
					
						
							| 
									
										
										
										
											2023-07-12 16:28:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-04 17:40:53 +00:00
										 |  |  |     <script> | 
					
						
							|  |  |  |         {{ command_tag | safe }} | 
					
						
							|  |  |  |     </script> | 
					
						
							|  |  |  | </inkscape-extension> |