tools/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT

Directories

Path Synopsis
Command fakeprinter runs a farm of fake printers (print/fakeprinter) from a YAML file: printers of IPP, ipps, the raw port 9100, LPD and serial lines (pseudo-terminals), and CUPS servers with classes, each of a preset kind, failing as their faults say.
Command fakeprinter runs a farm of fake printers (print/fakeprinter) from a YAML file: printers of IPP, ipps, the raw port 9100, LPD and serial lines (pseudo-terminals), and CUPS servers with classes, each of a preset kind, failing as their faults say.
Command gen-drawio-awsmap writes the table the drawio converter draws the shapes of older AWS icon generations with (converter/drawio/ aws_legacy_table.go): for every shape name of mxgraph.aws (stencils/aws), mxgraph.aws2 (stencils/aws2), mxgraph.aws3 (stencils/aws3.xml) and mxgraph.aws3d (stencils/aws3d.xml and mxAWS3D.js), the style that draw.io's current AWS palette (Sidebar-AWS4.js) draws the same service or resource with, or none.
Command gen-drawio-awsmap writes the table the drawio converter draws the shapes of older AWS icon generations with (converter/drawio/ aws_legacy_table.go): for every shape name of mxgraph.aws (stencils/aws), mxgraph.aws2 (stencils/aws2), mxgraph.aws3 (stencils/aws3.xml) and mxgraph.aws3d (stencils/aws3d.xml and mxAWS3D.js), the style that draw.io's current AWS palette (Sidebar-AWS4.js) draws the same service or resource with, or none.
Command gen-drawio-stencils writes the draw.io stencil libraries that the drawio converter embeds (converter/drawio/stencils): it reads the stencil XML files of a draw.io release, drops what drawing does not use (the <connections> elements, comments and the whitespace between elements), rounds coordinates to a precision the stencil's size cannot show, writes the steps of each <path> as a compact d attribute ("M44 11L44 9C…", which the converter expands back into elements when it parses the file), and stores each file gzip-compressed, together with the license.
Command gen-drawio-stencils writes the draw.io stencil libraries that the drawio converter embeds (converter/drawio/stencils): it reads the stencil XML files of a draw.io release, drops what drawing does not use (the <connections> elements, comments and the whitespace between elements), rounds coordinates to a precision the stencil's size cannot show, writes the steps of each <path> as a compact d attribute ("M44 11L44 9C…", which the converter expands back into elements when it parses the file), and stores each file gzip-compressed, together with the license.
Command gen-newstroke writes the stroke font the KiCad converter draws text with (converter/kicad/newstroke.txt.gz): NewStroke by Vladimir Uryvaev, the plotter font KiCad was designed with, as its author released it under CC0.
Command gen-newstroke writes the stroke font the KiCad converter draws text with (converter/kicad/newstroke.txt.gz): NewStroke by Vladimir Uryvaev, the plotter font KiCad was designed with, as its author released it under CC0.
Command gen-smufl writes the music symbols that the score engraver embeds (converter/internal/music/smufl): it reads a release of Bravura, the SMuFL reference font, and its metadata, and writes the outlines of the glyphs the engraver draws, their advance widths, bounding boxes and anchors (where stems and flags attach), and the font's engraving defaults (line thicknesses) as a Go table, together with the license.
Command gen-smufl writes the music symbols that the score engraver embeds (converter/internal/music/smufl): it reads a release of Bravura, the SMuFL reference font, and its metadata, and writes the outlines of the glyphs the engraver draws, their advance widths, bounding boxes and anchors (where stems and flags attach), and the font's engraving defaults (line thicknesses) as a Go table, together with the license.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL