Default DPI is wrong #511

Closed
opened 2023-09-24 11:49:17 +13:00 by mikedilger · 2 comments
mikedilger commented 2023-09-24 11:49:17 +13:00 (Migrated from github.com)
No description provided.
mikedilger commented 2023-09-25 08:02:47 +13:00 (Migrated from github.com)

I get this on ArchLInux X11 xfce. It is "guessing".

2023-09-24T18:55:00.344904Z  INFO /home/mike/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform_impl/linux/x11/window.rs:156: Guessed window scale factor: 1.0416666666666667    
2023-09-24T18:55:00.463926Z  INFO src/ui/mod.rs:440: Pixels per point (native): 1.0416666

There are numerous upstream issues related to DPI and scale factor in the winit library. That is probably where this will be eventually fixed: https://github.com/rust-windowing/winit

I get this on ArchLInux X11 xfce. It is "guessing". ```` 2023-09-24T18:55:00.344904Z INFO /home/mike/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform_impl/linux/x11/window.rs:156: Guessed window scale factor: 1.0416666666666667 2023-09-24T18:55:00.463926Z INFO src/ui/mod.rs:440: Pixels per point (native): 1.0416666 ```` There are numerous upstream issues related to DPI and scale factor in the winit library. That is probably where this will be eventually fixed: https://github.com/rust-windowing/winit
mikedilger commented 2023-10-02 11:00:18 +13:00 (Migrated from github.com)

I found a bug we had which was masking the correct DPI. Fixed on unstable.

I found a bug we had which was masking the correct DPI. Fixed on unstable.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#511
No description provided.