Closed chuchana closed 5 years ago
bodge-ui
itself doesn't know anything about underlying system - programmer would need to manage canvas resolution (her-)himself - meaning example should be augmented to handle HiDPI displays. Instead, bodge-ui-window
tries to solve that problem (HiDPI support), but Retina is still broken there because I don't have access to Retina-powered MacOS machine (linux and windows HiDPI support is ok though).
Ping me in #cl-bodge IRC channel at freenode.net or directly with a private message and we can try to fix the problem present in bodge-ui-window
.
There's Quartz Debug
in the Additional Tools for XCode
(formerly Graphics Tools for XCode
) which lets you simulate a retina screen on a regular one: https://developer.apple.com/download/more/
Oh, thank you! I'll keep that in mind.
There seems to be a problem with HiDPI support.
The example
(bodge-ui.example:run)
looks like this:When I switch to the non-retina version of the same resolution, it looks like this:
The window is scaled 4x instead of 2x while the content stays the same size (400x400).