Files
wordcraft/docs
e8482fa964 A chosen interface size is absolute; Auto keeps the display scale (#822) (#1142)
* #822: a chosen interface size is absolute; Auto keeps the display scale

On a display the system reports at 200 % (a bare window manager on X11,
where winit guesses the scale from the monitor's DPI), "100%" drew at
200 %. As in PhotoCraft and PdfCraft (pdfcraft#1005), a chosen size now
divides the display scale back out, so 100% is one screen pixel per
point. The new default, Auto, keeps the display scale and its menu entry
shows the size it draws at. Sizes run 75-300 %; ui.json moves to
uiScale and migrates the old interfaceSize (100 -> Auto).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #822: an old interface size becomes the size it drew at; a valid uiScale wins

A pre-#822 interfaceSize was on top of the display scale, so it is kept
until the first frame knows that scale and becomes old x native
(125% on a 2x display stays at 250%). Note that on the web a chosen
size cancels browser zoom.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #822: rustfmt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Dmitrii Khlapov <19991457+dkhlapov@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-14 02:04:27 -04:00
..