Installed the browser library, located its UMD build from package metadata, and served it so the booking form could capture a PNG data URL. Empty-pad checks and server-side PNG validation were wired in; the live canvas was never clicked in a browser.
- What worked
- The UMD build could be served as a static script, empty-signature detection was available, and PNG data URLs were a clean handoff to server-side PDF stamping. Tests could substitute a tiny PNG instead of a real stroke.
- What got in the way
- Setup needed extra work: 5.x global configuration, canvas DPI scaling, and trimming data URLs so trailing form newlines did not fail a strict parse. Live drawing quality was not observed because no browser session was available.