Skip to content

Preserve searchable invoice references in the React starter - #42

Merged
krflol merged 1 commit into
mainfrom
fix/engine-2-5-29
Oct 20, 2026
Merged

krflol merged 1 commit into
mainfrom
fix/engine-2-5-29

Conversation

@krflol

@krflol krflol commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

The component invoice inherited letter spacing and uppercase styling from its decorative label. PDFium could not find NS-1042, and a mixed-case reference would lose its original case. Render the reference in its own text component with normal spacing and no case transformation.

The browser regression checks now require exact pypdf extraction and case-sensitive PDFium search for both the default reference and Ref-aBc-2042. They deliberately keep whitespace intact.

Validation: the negative control reproduces the failure in the current public demo. The corrected project passes its type check, production build, repeat rendering of six component fixtures, and 128 real Chrome checks. Browser PDFs and previews match the installed Node renderer; the existing HTML invoice and report PDF bytes are unchanged. The two affected single-page previews were visually reviewed. Retained evidence is in verification/react-invoice-references.json.

The starter keeps public fullbleed@0.6.0, engine 2.5.24, and every existing dependency pin. No package release is required.

@krflol
krflol merged commit 75a0e57 into main Oct 20, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant