*Created by: markcosmic* <!--- ** For coding questions, please use https://forum.processing.org ** --> <!--- ** This form is only for bugs in the software & feature requests ** --> <!--- ** Also be sure to read the troubleshooting page first: ** --> <!--- ** https://github.com/processing/processing/wiki/Troubleshooting ** --> <!--- ** Before posting, please search Issues for duplicates ** --> ## Description <!--- Use a title that describes what is happening. --> <!--- Give a description of the proposed change. --> ## Expected Behavior <!--- Bug? Tell us what you were expecting. --> <!--- Improvement? Tell us how you’d like it to work. --> in using displayDensity() on my 4K display, I was expecting the results to be the same as when I use it in Processing 3 ## Current Behavior <!--- Explain the difference from current behavior. --> in using displayDensity() on my 4K display, the result is "1" ## Steps to Reproduce <!--- Provide an unambiguous set of steps to reproduce. --> <!--- Including code will make it more likely to be fixed. --> 1. println(displayDensity()); 2. 3. ## Your Environment <!--- Include details about your environment. --> <!--- Thousands of people use Processing every day and may not have --> <!--- this issue, this might give us clues about why you’re seeing it. --> * Processing version: Processing 4 * Operating System and OS version: window 10 pro 21h1 * Other information: Using an Asus ZenBook UX581GV.308 ## Possible Causes / Solutions <!--- Optionally, ideas on how to implement the change. -->