This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.

40 lines
2.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="">
<name>Custom Stroke Font - Generate Font Data</name>
<param name="tab" type="notebook">
<page name="genStrokeFontData" gui-text="Generate Font Data">
<param name="fontName" type="string" gui-text="Font Name:" />
<param name="rightOffsetType" type="optiongroup" appearance="combo" gui-text="Right Offset:">
<option value="vgBbox">Vertical Guide / Bounding Box</option>
<option value="lastNode">Main Segment Last Node</option>
<param name="crInfo" type="string" gui-text="Copyright Info:" />
<param name="spaceWidth" type="float" min="0" max="999999" gui-text="Space Width (Enter 0 If Not Changed):">0</param>
<page name="desc" gui-text="Help">
<label xml:space="preserve">Inkscape extension to generate the data of the stroke font glyphs from the current SVG.
The data generated by this effect is used by the 'Render Text' extension.
Pre-requisite: This SVG should be created with the 'Create Font Design Template' extension
The glyph bottom extent is derived from the reference horizontal guide(s)
Based on the option selected, the Right offset of the glyph will be either:
i) based on the right verical guide (if it exists) or bounding box or
ii) derived from the x coordinate of the last node of the main segment
in the glyph path (useful in case of script fonts)
Enter 0 in Space Width field if you don't want to change the existing value.</label>
<effect needs-live-preview="false">
<submenu name="FabLab Chemnitz">
<submenu name="Text"/>
<command location="inx" interpreter="python"></command>