Canvas & High Resolution?
Canvas & High Resolution?
Hello,
I was playing with the High Resolution Capable flag and I can't succeed to get the canvas to work in high definition mode; while every other gadgets are fine. Any help?
I was playing with the High Resolution Capable flag and I can't succeed to get the canvas to work in high definition mode; while every other gadgets are fine. Any help?
Re: Canvas & High Resolution?
I'm not familiar with this. How do you use it?High Resolution Capable flag
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b6
Re: Canvas & High Resolution?
Quite easily:add the High Resolution Capable flag to your application plist and set it to true, then make sure that "Open in low resolution" (I'm gessing here: my OSX is in french actually...) is not checked in your application info.
Here is my application in default mode, and the same with the High Resolution flag set to True. As you can see, while the button and the window bar are in HD indeed, my canvas are sill in their pixelated glory...
BTW, you can do this to the IDE itself, it makes it retina compatible and it's quite lovely to do so (except that the tab bar are still in low res too...)
Here is my application in default mode, and the same with the High Resolution flag set to True. As you can see, while the button and the window bar are in HD indeed, my canvas are sill in their pixelated glory...
BTW, you can do this to the IDE itself, it makes it retina compatible and it's quite lovely to do so (except that the tab bar are still in low res too...)
Re: Canvas & High Resolution?
Poshu,
Thanks for the explanation! I, also, see the difference in you lo-res and hi-res picture.
I will play with the plist and see if I can get the ListView Gadget to display sharply as I reported in the MacBugs forum. http://purebasic.fr/english/viewtopic.php?f=24&t=57297
[later]
Holy cow! What a difference! It took moving the app (out then in) to get the new plist to kick in but once it did the font was sharp and even looked different (much thinner). I'm stunned and interested to see what other retina users experience.
Oh,
Thanks for the explanation! I, also, see the difference in you lo-res and hi-res picture.
I will play with the plist and see if I can get the ListView Gadget to display sharply as I reported in the MacBugs forum. http://purebasic.fr/english/viewtopic.php?f=24&t=57297
[later]
Holy cow! What a difference! It took moving the app (out then in) to get the new plist to kick in but once it did the font was sharp and even looked different (much thinner). I'm stunned and interested to see what other retina users experience.
Oh,
Code: Select all
<key>NSHighResolutionCapable</key>
<true/>MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b6
Re: Canvas & High Resolution?
Yeah, and purebasic's IDE is now readable again :D It was the very first thing I did when I got my mac book pro retina.
But we need a way to make the canvas (and I guess anything with image, even though I did not check) behave now.
But we need a way to make the canvas (and I guess anything with image, even though I did not check) behave now.
Re: Canvas & High Resolution?
How did you get the IDE in Hi-res mode? My Info box for 'lo res' is un-clickable. You didn't change the plist for the IDE did you?
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b6
Re: Canvas & High Resolution?
I did. It works fine.
Re: Canvas & High Resolution?
I added the flag to my IDE and it does look much better. (except for the tabs)
I wonder if Fred could add the flag to his release (of the IDE) or if it would cause other problems? (..just thinking out loud)
I wonder if Fred could add the flag to his release (of the IDE) or if it would cause other problems? (..just thinking out loud)
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b6
Re: Canvas & High Resolution?
Retina requires higher resolution images @2x. The canvas is essentially a bitmap image.Poshu wrote:Hello,
I was playing with the High Resolution Capable flag and I can't succeed to get the canvas to work in high definition mode; while every other gadgets are fine. Any help?
I don't think it would be possible to make it look good on a retina screen without doubling the resolution.
This means all gadgets based on the canvas gadget (including the IDE tabs) won't look as sharp as the other gadgets on a retina screen.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Canvas & High Resolution?
Hi wilbert!
Yeah, I've seen how the picts are different in Pixelmator (half size). The difference between retina and the regular resolution is going to be a continuing problem. Maybe if Apple goes all retina it will become the new standard and everything can be made to look good. Until then it is going to be a struggle between the retina users and everyone else.
Thanks for the explanation.
Yeah, I've seen how the picts are different in Pixelmator (half size). The difference between retina and the regular resolution is going to be a continuing problem. Maybe if Apple goes all retina it will become the new standard and everything can be made to look good. Until then it is going to be a struggle between the retina users and everyone else.
Thanks for the explanation.
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b6
Re: Canvas & High Resolution?
I know that, and I handle the dpi awarness on Windows, but I don't know how to make it work on OSX since my canvas is doubled without asking T_Twilbert wrote: Retina requires higher resolution images @2x. The canvas is essentially a bitmap image.
I don't think it would be possible to make it look good on a retina screen without doubling the resolution.
This means all gadgets based on the canvas gadget (including the IDE tabs) won't look as sharp as the other gadgets on a retina screen.


