mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 19:42:12 -05:00
f85040406f
View ▸ Show/Hide ▸ Rulers (Ctrl+R / ⌘R) reserves a strip along the top and left of the document area and draws rulers in the measurement units preference, from the top-left of the page under the pointer (or the current page) in its displayed orientation. Major ticks use the 1/2/5 interval that keeps labels apart at the current zoom, the tick count is capped, and a marker follows the pointer. The choice persists, and the control channel takes `rulers=on|off` and reports `rulers`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commitc8a854134f) (cherry picked from commitdcb941b3f9)