pdfcraft/apps
gyurix f5452cf126
Linux: prefer server DPI over panel physical DPI in vendored winit (#1150)
* fix(x11): prefer server DPI over panel physical DPI in winit

Without Xft DPI, use the X server screen dimensions before the output physical density. Xorg can run a dense panel at 96 DPI; EDID sizes alone make only winit apps appear zoomed.

Supersedes #908: preserves Xft.dpi priority, configured HiDPI screens, and WINIT_X11_SCALE_FACTOR override (including randr). Falls back to RandR output density when server dimensions are missing.

Adds default_dpi_factor() with 4 unit tests plus vendored-copy guard test in apps/pdfcraft/tests/winit_x11_dpi.rs.

* vendor/README: record the winit X11 DPI patch as (11)

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-11 19:12:32 -04:00
..
pdfcraft Linux: prefer server DPI over panel physical DPI in vendored winit (#1150) 2026-10-11 19:12:32 -04:00
pdfcraft-cli Heavy pages: cull off-tile images, cache decodes, preview backdrops, calmer queues (#1117) 2026-10-11 17:42:48 -04:00
pdfcraft-web Web: opt-in embedding bridge for host pages (?host=parent) (#842) 2026-10-10 15:50:06 -04:00