mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-13 01:41:18 +00:00
XFA 3.3, "Formatting Text That Appears as Fixed or Variable Content" (p. 43): text, caption text included, is formatted by its containing element's font properties, inherited from an ancestor container when it names none. A field's caption was drawn in the font around the field, so a form whose fields set Arial and whose captions set nothing showed its labels in the 10pt Courier default. Captions are now drawn, and placed, in the field's font with the caption's own properties on top, as they were already measured; a button's caption likewise. The paragraph of a field caption is unchanged. Part of #3432. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0175FWj4xFhMhSH3UpMU8DSC