This repository contains resources for the OpenPoiesis project.
Contents:
Pictograms: Sources for diagram pictograms, various styles.Icons: Sources for icons used in the Playground applicationFonts: Fonds used by the Playground application
To build the assets distribution files and archive, needed by other OpenPoiesis packages, run:
Scripts/build-dist.shOther scripts:
make-icon-font– create icon font used by the Application fromIcons/make-pictograms.sh– create pictogram collections (for notations) fromPictograms/
pictogramCLI tool from poietic-diagram - for pictogram creation- Inkscape – used without GUI for SVG manipulation for the icon font
python3with fontToolsxmllint
Pictograms are stored as SVG files, one file per pictogram. The SVG must contain elements (groups) with the following IDs:
pictogram(required) - Pictogram path- Can be a
<g>group element or any direct graphic element, no<use>, no<text>. - All style, such as fill or line, is ignored
- Path is considered a stroke/wire, never a filled shape.
- Can be a
collision(required) - Collision shape- Must be either a group
<g>element or a simple shape element. - Allowed shapes:
<circle>,<ellipse>(converted to rectangle),<rectangle>,<polygon>,<polyline>(treated as polygon),<path>(must contain only line-to elements) - Path is considered a filled curve
- Must be either a group
origin(optional) – Origin point- Must be a
<circle>element, where the origin will be the circle center - Specifies pictogram origin. If not provided, then centroid of the collision shape is used.
- Must be a
mask– Selection outline mask- Can be a
<g>group element or any direct graphic element, no<use>, no<text>. - All style (fill, line) is ignored
- Path is considered a filled curve
- Can be a
Any other, non-recognized elements are ignored.
Run Scripts/make-pictograms.sh to create pictogram collections from the SVG files.
Icons for the icon font are stored as SVG files. Icon name is equal to the file name.
Rules:
- Allowed shapes:
<circle>,<ellipse>(converted to rectangle),<rectangle>,<polygon>,<polyline>(treated as polygon),<path> - No
<use>or<text>is allowed. - All shapes are treated as strokes/wires, never filled.
- All shapes will be converted to a
<path>.
Run the Scripts/make-icon-font.sh to create the icon font from the SVG files.
The content is licensed under the CC BY-SA 4.0 License.
Third-party content has its license notice included in the Notices/ directory.
- Stefan Urbanek, stefan.urbanek@gmail.com