Jump to content

4K DPI scaling fix?


Recommended Posts

I have the same problem on my Surface Pro 4 - although it's not 4k it's 2736x1824

I think the issue is that Swing claims to be DPI-aware to windows and hence windows doesn't scale the display, when in-fact Swing is not DPI-aware. This means that any Swing application that you run will be unscaled - since OSBot uses Swing, the issue is present.

In terms of a fix, i'm not really sure. You could adjust your resolution, but that's a bit hacky and a pain. Other than that, there's not alot you can do without modifying a java install which is again a big pain.

More info here: https://superuser.com/questions/988379/how-do-i-run-java-apps-upscaled-on-a-high-dpi-display


  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...