Running JavaFx on MacOs with external monitor (1920x1200) the fonts is blurry. See the text in the menu.
On Linux Mint with external 4K monitor JavaFx does not scale at all.
Do you know any parameters which can control this ?
Related
Apple iMac & MacBook lineup uses high-resolution display branded as "Retina Display" which by default, macOS will set the screen resolution below the native screen resolution. For example on the 13-inch Retina MacBook Pro, which comes with native resolution of 2560-by-1600, macOS will set the default resolution to 1280-by-800 with option to scaled to other screen resolution (1024-by-640, 1440-by-900, and 1680-by-1050) on Settings app.
However, on Windows (including the latest version) screen resolution are by default, set to the native screen resolution with "Scaling" function to increases the elements sizing. For example on a 15-inch laptop, which comes with a Full HD display, Windows will set the default resolution to the 1920-by-1080 with scaling set to 100% but recommended to 125%. Setting a higher scaling in turns result in certain elements displayed blurry.
Hence, why is this case?
An operating system can work without screens. You could for example start your computer (either running Windows, or MacOSX, or Linux), and run some application app (or app.exe on Windows) on that command line.
Now, imagine you type app (without the ENTER key) in some command window, unplug your screen, and type the ENTER key. You app has still started (and perhaps detected that no screen is available, only if that app is a GUI application opening a window by using some widget toolkit). If your app is not a GUI application but a command line one (eg cp which copy files) it can successfully execute.
In practice, your screen is today used by some display server. And your application don't show directly pixels on the screen: it interacts with your display server which generally is the only process accessing the screen (more precisely, your graphics card).
So you need to learn how to tune or configure your display server. And that of course is operating system and display server specific. On MacOSX and and Windows and on Linux they are very different (and Linux even has several ones, e.g. Xorg or Wayland). On MacOSX it is Quartz.
I am trying to get the Horizon View Client to work with dual monitors on a Chrome Box. There are no options in the Horizon View Client to turn on dual monitors, only to change the screen resolution. I am struggling to find any sources online about the issue as well. I am running VMware 4.7 which seems to be the newest on Chrome OS. Has anyone been able to accomplish this?
With the multiple monitor feature, you can extend a remote desktop to one external monitor.
About this task
To enable the multiple monitor feature for Horizon Client, you install a helper extension and enable Unified Desktop Mode on your Chromebook.
You must install the helper extension to make the remote desktop window display correctly on an external monitor when the Chromebook display and the external display have different width-to-length ratios.
Procedure
Log in to your Chromebook.
Download and install the VMware Horizon Client Helper extension from the Chrome Web Store.
Open a browser window on your Chromebook and type chrome://flags in the URL bar.
Scroll down to Unified desktop mode and tap Enable.
Tap Restart Now to restart your Chromebook and make the change take effect.
What to do next
After your Chromebook restarts, you can open the Chromebook Settings and tap Display settings to configure Unified Desktop display options.
To extend a remote desktop window to the external monitor, tap the Maximize button. You can tap the Restore button to make the remote desktop window go back to the Chromebook monitor.
I connected an external monitor to my macbook. (HP 24w)
On some editors, including vsc, I can not work on the external monitor because the resolution and font rendering is not perfect.
I have attached the two photos below to show the problem.
Can you advise me something?
Thank you.
First photo: mb pro
Second photo: hp 24w external monitor
This fixed it for me.
defaults write com.microsoft.VSCode.helper CGFontRenderingFontSmoothingDisabled -bool NO
I've got a personal laptop (running Windows 10) which I use at work where I connect it to an external display using extended display mode. I keep all my personal icons and windows on my laptop display and store all the work-related windows on the external display. Whenever I unplug it, all the windows and icons from that display are merged into my laptop screen. I want to programmatically prevent changing anything on my primary screen when the secondary is disconnected. I'm currently writing a utility app for a variety of small productivity improving features and would like to add such feature in it. I can think of two ways to achieve this:
by tricking the system to think that the external display hasn't been
disconnected;
or take all the opened windows and icons on disconnected screen and put them on separate virtual desktop.
I was looking into Windows GDI Device Context Functions but haven't found anything about display connection/disconnection events. How can I detect display disconnection (and get that display's opened windows and icons)? Anything that can be done using C#, C++ or PowerShell scripts would be much appreciated!
I am working on a project where we have a Mac desktop application that has an NPAPI based browser plugin that can be used to edit it's documents through a browser. The codebase is a mixture of Carbon and Cocoa UI code that is shared between the app and the plugin.
We've recently enabled retina support in the app by turning on the High Resolution Capable flag in the application plist and are in the process of porting the interface over to Cocoa. In the app things are displaying correctly with retina displays but in the plugin none of the windows are drawing in high dpi mode.
The document displayed in the browser window is drawing correctly as I can get the content scale factor using NPNVcontentsScaleFactor and apply it to the layers. The problem is with the extra windows that we create, dialogs and toolbars, which are not being drawn in high dpi mode.
Is there a way to get windows we create in the NPAPI plugin to draw at the high resolution?
Thanks.