evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.08k stars 721 forks source link

export to clickable html calculated clickable areas positions wrongly with HDPI displays on MacOS #675

Open strobe opened 3 years ago

strobe commented 3 years ago

If I use Pencil on 4k display during export to clickable HTML with default display HDPI mode (resolution divided by 2), the position of clickable areas in resulted HTML file will be calculated wrongly (divided by 2). In native display resolution mode that doesn't happen (System Preferences -> Displays -> Scaled -> select native display resolution)

macOS Big Sur

3.1.0

kayak1234 commented 2 years ago

How do you set native display resolution on a Mac with a retina display?

strobe commented 2 years ago

In previous versions of macos it was possible by clicking Scaled with Option key pressed - that allowed to see list of possible resolutions with a 'Low Resolution' options (on Monterey it seems doesn't work for build in display anymore but may be some other way to do it still exist)

Screen Shot 2022-09-14 at 13 03 22
strobe commented 2 years ago

this app with proper permissions seems still can do that https://github.com/waydabber/BetterDisplay

kayak1234 commented 2 years ago

Thank you so much, strobe! You are right, Apple seems to have disabled that feature with the Option key pressed (MacOS Monterey). I was able to get it done through another third-party app - EasyRes. But, I have to say, although I was happy with the result, allowing another third-party app "control my desktop" made me a bit uncomfortable.