osx - Safari NPAPI plugins and retina support -


I am experiencing problems with the support of retina screens with my Safari NPAPI plugin.

I am using a CoreGraphics based plugin and for some reasons the backing scalefactor is coming back by windows I is 1 instead of 2 on a retina screen.

I tried to see some configuration parameters with luck.

The only way to do this work is by making the subclass of NSWindow and overlapping backing scale factor 2 returning. However, I could not find any way to detect retinal screens from the plugin.

Any thoughts?

Unfortunately, there is probably no way. You can not use NSWindow, so there is no way to ensure that you are drawing pictures on which monitor. If the safari can not give you anything you want, maybe there is no alternative.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -