mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-08-06 22:37:23 +02:00
Center each glyph within its comb cell instead of left-aligning it, both in the HTML annotation layer and in the printed/saved appearance, to match Acrobat. Cell width is now the single source of truth via the --comb-width CSS variable, and field text-alignment (center/right) is applied as a whole-cell --comb-offset that stays in sync on input, blur, resetform and updatefromsandbox. The field no longer grows on focus; trailing letter-spacing is clipped and cell dividers are drawn on focus.