#570: log desktop renderer details (#726)

This commit is contained in:
cyfung1031 authored and GitHub committed 2026-10-10 06:02:02 -04:00
1 parent abe0366d26
commit 4339f5b9ed
2 files changed
+17 -1

No files matched your search

+6
View File
@@ -36,6 +36,12 @@ at a correspondingly lower scale instead of panicking in `Surface::configure` (v
stretched over the window: softer, but complete and lined up with the pointer. wgpu's GL backend
copies it unscaled into a corner of the window instead.
For blurry or incorrectly scaled UI reports, attach `pdfcraft.log`. Look for the successful
startup `renderer:` line, which records the wgpu adapter, device type, backend and enabled texture
limit, or the OpenGL renderer. Also look for the `drawing it at … and scaling it up` warning: it
means PdfCraft hit the surface-size safety fallback and rendered below the physical window size, so
softness is expected.
## Renderer fallback
PdfCraft draws with wgpu, and starts again with eframe's own OpenGL renderer (glow) when wgpu fails