From 20b9547578675c0ef5a3f297b50dd8a7382cd1d3 Mon Sep 17 00:00:00 2001 From: igurielidze Date: Mon, 30 Mar 2026 15:50:53 +0400 Subject: [PATCH] Fix EPC export: match end box position and stroke width to canvas renderer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Right box x offset: 0 → -rb.w (extend backward, matching canvas) - Stroke width: hardcoded 0.3 → EPC_CONFIG.lineWidth (1.5, matching line) Co-Authored-By: Claude Opus 4.6 (1M context) --- svelte-app/src/lib/export.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svelte-app/src/lib/export.ts b/svelte-app/src/lib/export.ts index 2e7a98b..b632879 100644 --- a/svelte-app/src/lib/export.ts +++ b/svelte-app/src/lib/export.ts @@ -191,7 +191,7 @@ async function emitEpc(lines: string[], sym: PlacedSymbol, label: string, outerT const ppx = ox + prev.x, ppy = oy + prev.y; const rAngle = Math.atan2(ply - ppy, plx - ppx) * 180 / Math.PI; const rb = EPC_CONFIG.rightBox; - parts.push(` `); + parts.push(` `); } lines.push(` `);