Message Boards Message Boards

Make Mathematica's interface less blurry?

GROUPS:

I run Mathematica 11.2 in Windows 10. I have a 4k monitor (resolution 3840x2160) at work and another at home running at recommended 150% scale. The Mathematica interface looks really blurry and it is painful to read (see attached image, the window behind Mathematica is the browser window where this message was being composed. Browser text is very sharp, as is the rest of Windows. Mathematica text is blurry).

My laptop (Surface book) runs at a resolution of 3000x2000 and 200% scale and Mathematica there looks even blurrier.

High dpi monitors have been out for many years and Mathematica has always been blurry for me on them. Is there a way of making it give good text? Am I missing some non-obvious setting that improves this?

Luis.

Attachment

Attachments:
POSTED BY: Luis Rademacher
Answer
2 months ago

There is a setting to change the display fonts size in windows 10. I noticed that MM doesn't really work with that set. So I use the default 100% and only use the MM scaling only. Still not ideal but much better then any combination with the Windows font size setting. I don't have a very high res monitor (1920). enter image description here

POSTED BY: l van Veen
Answer
2 months ago

I tried that. I doesn't fix the issue for me. At 100% every app and interface element in Windows looks unreadably tiny. A 4k monitor typically has about 4 times as many pixels as a 1920 and therefore a scaling like 150% is more or less necessary. At that scaling almost every programs in Windows looks great, with sharp fonts and good size, except Mathematica.

If I use MM scaling as suggested (with Windows scaling at 100%), everything else in Windows is still tiny and many elements of Mathematica's interface (e.g. menu bar) are still tiny.

POSTED BY: Luis Rademacher
Answer
2 months ago

Thanks for the reply. I had already seen most of those links and they don't fix the issue. Is there an actual fix in any of them? When I tried their suggestions, they would improve some aspect but make others worse.

I noticed that in one of the suggested links, https://mathematica.stackexchange.com/questions/134054/blurry-fonts-in-notebooks it is stated:

UPDATE: Answer from a Wolfram Technology Engineer

Mathematica's front-end does not support 4K resolution monitors fully and is known to have some issues when used in 4K resolution monitors. Our developers are currently working on this issue.

I'm confused by this statement, as high-dpi displays have been mainstream for more than 5 years (e.g., MacBook Pro with Retina display). One of the 4k monitors I'm using has been out for more than 3 years.

POSTED BY: Luis Rademacher
Answer
2 months ago

As I said above:

"Also I am running mathematica 11.2 on my MacBook Pro (2012, Retina display, macOS Sierra 10.12.6), and there the OS has no problems, everything is perfect as it should be."

The problem is Mathematica on Windows with 4K Monitors!

POSTED BY: Milenko Rubin-Zuzic
Answer
1 month ago

Glad they are working on this issue.

My monitors:

  • Main monitor: P2715Q, 27", 3840x2160, landscape mode, DPI 200%;
  • Secondary monitor: P2415Q, 24", 3840x2160, portrait mode, DPI 225%;

I prefer to put Mathematica notebooks on my secondary monitor as it is in portrait mode, perfect for Mathematica notebooks.

I wish Wolfram engineers make Mathematica a true DPI aware software, UI should not be blurry no matter the DPI settings of each monitors.

Many DPI aware software on Windows 10 display correctly on main monitor, but UI looks blurry on secondary monitors (if DPI settings of main monitor and secondary monitors are different).

For example:

  • Many (if not most) Microsoft's own software (including Windows Explorer, Microsoft Office 2016, Visual Studio 2017, Process Explorer...).
  • JetBrains Rider;
  • JetBrains WebStorm;
  • SmartGit;

There are other software works perfectly no matter what DPI you use on main monitor and secondary monitors.

For example:

  • Google Chrome
  • Firefox
  • Windows Store apps (e.g. Microsoft Edge, Todoist...)
  • Visual Studio Code (based on Electron, they fixed this issue recently)
  • Neo4j Desktop
  • PotPlayer
POSTED BY: Yang Li
Answer
1 month ago

But does Mathematica look blurry on your primary (boot) monitor or you found a way to make it work at least within one High DPI monitor?

As you mentioned, most applications look great at 200% within main monitor. Say, for me Microsoft Office, SmartGit look perfectly sharp. Not Mathematica, not even in primary monitor (see screenshot in my first post).

POSTED BY: Luis Rademacher
Answer
1 month ago

I don't know how to make UI of Mathematica scales correctly and not blurry at the same time. But there are 2 good workarounds (probably mentioned in the links above):

(screenshots below are from my main/boot monitor, 3840x2160, DPI 200%)

1) Change DPI scaling behavior to "System (Enhanced)", and increase notebook "Magnification": Most part of UI looks sharp (except the notebook), and seems everything scales correctly.

enter image description here

2) Change DPI scaling behavior to "Application", and increase notebook "Magnification": Everything looks sharp, most parts of UI don't scale correctly but most contents of notebooks scale correctly.

enter image description here

POSTED BY: Yang Li
Answer
1 month ago

Thanks for the workarounds. They are not obvious at all. Workaround 2 is interesting, as it eliminates blurriness generally, though it leaves many things improperly scaled (e.g. the options inspector, searchbar in help, autocomplete). Items not scaled up are tiny in my laptop screen (which needs 200% Windows magnification). This means it is not really usable there, but might be usable in my external monitor at 150% Windows magnification.

POSTED BY: Luis Rademacher
Answer
1 month ago

(The forum scales my screenshots, makes them look more blurry, try copying them to your local machine and zoom in 100%)

@Luis Rademacher, I noticed you used 150% DPI on your 4K monitor. You may not want to do that as it will make non DPI aware software look more blurry.

I'm not a computer or math expert, so I could be wrong, but I think for those non DPI aware software, when you set DPI to 100%, 200%, 300%, etc, to scale their UI, operating system only needs to clone original pixels. But when you set DPI somewhere between 100%, 200%, 300%..., OS needs to do some calculates and create fake pixels, makes UI look more blurry. I have tested this many times for non DPI aware programs.

POSTED BY: Yang Li
Answer
1 month ago

I agree that integer multiples of 100% work better for the reasons you mention. Unfortunately 150 is quite far from 100 and 200, so not really an option to jump to the nearest value (I have a 28" monitor that looks great at 150%, at 200% would be quite wasteful of space).

POSTED BY: Luis Rademacher
Answer
1 month ago

Everything above 100%, doesn't matter if 200, 300 or something in between produces blurry fonts in Mathematica notebooks on Windows with 4k monitors.

What one can also try is to change the screen resolution in the mathematica preferences.

Attachment

Attachments:
POSTED BY: Milenko Rubin-Zuzic
Answer
1 month ago

Screenshots below are from my Dell P2715Q, 3840x2160, "DPI scaling behavior" and "Magnification" are default values.

Under 150% DPI:

enter image description here

Under 200% DPI:

enter image description here

As you can see, under 150% DPI, UI is painfully blurry, but under 200% DPI, you can see the pixels, but it's kind of usable.

Same is true for other non DPI aware software, for example: Fusion 360.

That's why I always keep my main 4K monitor 200% DPI.

POSTED BY: Yang Li
Answer
1 month ago

Group Abstract Group Abstract