Symbols mostly related to electricity and transmission systems/protection
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AigaSymbols.svg
BalloonSymbols.svg
Base_Objects.svg
Bays_and_SLD Items.svg
FlowSymbols.svg
LICENSE
LogicSymbols.svg
MapSymbolsNPS.svg
Numbers.svg
README
Relays.svg
Simple_SLD_Drawings.svg
Stick_figures.svg
Switchgear_SLD.svg
Transformers.svg
Vectors.svg
demo.svg

README

T
Internationalization

These files are internationalized the same way as
share/filters/filters/svg The i18n.py script called from the makefile
will extract strings from the *.svg files into a *.svg.h
file. Intltool is then able to extracts these strings just like from
normal .h files.


Adding new files

Symbol files should be carefully prepared.

1. The SVG should be clean: No unnecessary transforms, sensible path
   data, etc. Do a manual inspection. Remove cruft like guide-lines,
   grids, etc.

2. Avoid adding unnecessary style properties in the symbol elements;
   this prevents the user from over-riding the default styling by
   specifying the style on the <use> element. Default styling can be
   specified in the root SVG element. Inkscape will apply this
   styling by default in the <use> element.

3. Provide a meaningful <title> element for each symbol. This will be
   appear in the GUI as a tool-tip.

4. Make sure there are no "transform" elements in the <symbol>
   element. Transforms are not allowed per specification and are not
   supported in most browsers. ('refX' and 'refY' are allowed in SVG
   2.)

5. Add a section with <use> elements to demonstrate the symbols is the
   file is opened by itself.