You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PDF/A widget appearance streams draw text without shaping or bidi #408
On #330 with #387, each widget under PDF/A gets an /AP appearance stream that mPDF writes itself. That text is not run through OTL or bidi:
Arabic, Indic and other complex scripts show unshaped glyphs.
RTL values are drawn in logical order.
A viewer redraws the field once it is edited, so only the initial appearance is wrong. Under PDF/A, though, /NeedAppearances is off, so the static appearance is what prints.
An auto font size (fontsize 0) fits single-line fields to the height and falls back to 12pt otherwise. Viewers shrink a multi-line field's text to fit.
Expected. Build the appearance text through the same shaping path as page text (Otl plus the bidi pass), and fit multi-line auto sizes.
Activity
Ask the viewer to redraw form fields only for text their appearances …
Give every active form widget its own appearance, and ask the viewer …
Give every active form widget its own appearance, and ask the viewer …
Give every active form widget its own appearance, and ask the viewer …
Add a snapshot of active fields showing shaped text beside the same t…
Shape and order the text of a form widget's appearance as page text i…