yavsc/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Schneider 9c1f552bca
Draw estimate signatures as vector TikZ instead of PNG
The estimate foot now renders the provider and client signatures as
TikZ \draw/\fill paths straight from the captured stroke data, in two
side-by-side minipages with a \useasboundingbox so the boxes align
regardless of stroke coverage. A side that hasn't signed shows a
signature rule.

- TeXHelpers.SignatureToTikz walks the PostIt wire format
  ([k, x0,y0, ...] per stroke, coords in [0, CoordinateMax], y-down)
  and emits one \draw per stroke (round caps/joins, 1.5pt), flipping y
  so the signature is upright on paper; a single-point tap becomes a
  filled dot, mirroring the Avalonia round-capped Polyline.
- FrontOfficeApiController.LoadEstimateForRenderAsync includes
  Estimate.Signatures so SignaturePro/SignatureClient resolve.
- Estimate_tex.cshtml drops the \includegraphics of a PNG (which
  failed the build when the file was absent) and adds \usepackage{tikz}.
- README: document texlive-pictures (tikz) and texlive-fonts-extra
  (bera) as runtime deps; bera.sty missing is the likely cause of the
  remaining host Emergency stop.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-22 16:45:05 +01:00
..
cli nuget referencezs updated 2026-09-20 01:53:20 +01:00
PostIt Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Yavsc.Abstract Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Yavsc.Api Draw estimate signatures as vector TikZ instead of PNG 2026-09-22 16:45:05 +01:00
Yavsc.Api.Client Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Yavsc.Api.Test Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Yavsc.Blogs changelog: add 1.0.8-rc15 entry 2026-09-19 12:56:02 +01:00
Yavsc.Blogs.Tests nuget referencezs updated 2026-09-20 01:53:20 +01:00
Yavsc.Org Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Yavsc.Org.Tests Add missing Account/Delete confirmation page 2026-09-21 16:15:31 +01:00
Yavsc.Server Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Yavsc.Tests.Shared nuget referencezs updated 2026-09-20 01:53:20 +01:00