1# Symbolator Python Worker23This unit preserves the useful Symbolator HDL component workflow while removing4the native desktop dependencies from the Kroki binary. It accepts Verilog /5SystemVerilog module declarations and VHDL entities/components, preserving6generics, grouped ports, directions, buses, clock markers, bubbles, titles,7scaling, and type labels.89The pinned Kroki Symbolator 1.2.2 package cannot be imported directly into a10Python Worker: its SVG backend imports `gi`, Cairo, and Pango for text metrics.11Those native bindings are not Pyodide packages. This unit is therefore a small12translation/rendering path with deterministic approximate text metrics. Font13metrics and exact layout may differ from the native renderer; that loss is14intentional and documented so coverage can move off the Java image.1516The unit has no filesystem, subprocess, or network access. The hostname selects17the renderer; the request body cannot select an engine.1819## Local checks2021```sh22uv run pytest -q23uv run pywrangler sync24uv run pywrangler dev --port 879125```2627## Known losses2829- Native Pango font shaping is replaced by conservative monospace-like width30 estimates. SVG text remains selectable and uses browser fonts.31- The native command's library-directory scanning and persisted array-type32 cache are intentionally unavailable; requests contain one HDL source.33- PNG/PDF/PS/EPS output is not supported by the Worker plane; SVG is supported.