pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Canvas scale factor is not adjusted automatically to the display

Open Rinzwind opened this issue 2 years ago • 1 comments

After setting the canvas scale factor to 2 for a Retina display (see pull request #15647), it has to be set back manually to 1 when reopening the image on a computer without such a display, or when moving the Pharo window to another display that is not a Retina one. Otherwise, the world is drawn at scale 2 and then scaled back down to 1, which looks worse than when it is drawn directly at scale 1. It would be nicer for the canvas scale factor to be adjusted automatically to the current display.

Rinzwind avatar Jan 28 '24 14:01 Rinzwind

I haven’t investigated yet how to determine the appropriate scale for the display that the Pharo window is currently on. Perhaps someone who is more familiar with SDL can help.

Rinzwind avatar Jan 28 '24 14:01 Rinzwind

I’m closing this, I added a setting in pull request #16479 to let the world renderer canvas scale factor be set automatically.

Rinzwind avatar Apr 23 '24 22:04 Rinzwind