THPDFHeadlessDocument.SetTextFieldValueWithFamilies
procedure SetTextFieldValueWithFamilies(FieldIndex: Integer;
const Text: UnicodeString;
const Families: THPDFHeadlessRichTextFontFamilies;
const Options: THPDFHeadlessTextAppearanceOptions);
Generate all text-field widget appearances with supplied regular-family fallback and preserve plain V and field flags; password fields paint their actual bullet mask and file-select fields retain text behavior
The fallback option defaults to False; a native call explicitly regenerates the appearance, including when the existing value is equal, and requires the same editable-field, encryption, authenticated DocMDP and FieldMDP permissions as the existing single-font method
Generation is transactional for the loaded field graph; a missing glyph, invalid font, budget failure or cancellation preserves the previous field and appearances
Use SaveToFile to publish the updated graph to an independent destination