Rotated, Rich-Text, and Wrapped Field Appearances

Field appearance generation now honours the /MK /R widget rotation, the /RV rich-text value, and word wrapping in multiline text fields

Rotation

Native loaded-field appearance generation lays out 90-degree and 270-degree widgets in a logical viewport with the physical widget width and height exchanged; the appearance /BBox uses that same logical size

A unit-scale counterclockwise /Matrix maps the logical viewport back to the physical widget rectangle, so quarter-turn layout is not painted in the old dimensions and then stretched to fit

Text, choice and generated button normal appearances share this geometry; checkbox and radio On and Off states receive matching bounds and rotation matrices

SetLoadedFormFieldRotation writes widget /MK /R metadata only; explicitly call EnsureLoadedFieldAppearanceStream when the normal appearance must be regenerated before saving

The physical widget rectangle and stored field values remain unchanged; this native loaded-field behaviour does not change headless appearance rotation conventions

Rich text

When a field has no plain /V but carries an /RV rich-text body, the appearance renders the character content with the inline XHTML markup stripped

Multiline wrapping

Multiline text fields wrap overlong rows on whole-word boundaries using the per-character width estimate, placing a word that no longer fits at the start of the next row and keeping a word wider than the box on its own unbroken row