mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-06 11:14:14 +02:00
527b0f3b2d
Rewriting the links copied the old trailer up to %%EOF, so the old startxref stayed in the file before the new one. Its offset is the size the file had before the rewrite, and the links carry the output path, so the same project exported to two folders gave different bytes, and a different document id. Both rewrites now copy the trailer dictionary only, through one helper; the print window's rewrite no longer leaves a stray %%EOF either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>